Quick Search:
 
 PHP Code: Get Absolute Path Jump to:  
Category: >> PHP Code >> Get Absolute Path  

<< lastnext >>

Snippet Name: Get Absolute Path

Description: It's sometimes necessary to figure out the absolute path to a certain file. This snippet will do that.

Comment: (none)

Language: PHP
Highlight Mode: PHP
Last Modified: March 01st, 2009

<?PHP
 
$path = GETCWD();
ECHO “Your Absolute Path is: “;
ECHO $path;
 
?>


 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org