$_SERVER['SCRIPT_FILENAME']


if you want to know what is the absolute path in your php file you can use the $_SERVER['SCRIPT_FILENAME'] in php.

its easy, just open your text editor like notepad, and copy and past this code:

<?
echo $_SERVER['SCRIPT_FILENAME'];
?>


then save the file as wallpaperama.php and upload to your php website.

after you have uploaded to your site, open it with your browser and it will display what is the full path of your file

hope this helps