If you ever need to find a files path when programming in PHP. All you need to do is drop the below code in a text file called path.php.
<?php $p = getcwd(); echo $p; ?>
Put it in the same directory as the file whose path you need and go to it in your web browser.
You will get back something like this.
So now you know the server path to the file you need.