note 69436 deleted from ref.bcompiler by nlopess
| From: | nlopess@php.net | Date: | Wed, 06 Sep 2006 09:29:48 +0000 |
| Subject: | note 69436 deleted from ref.bcompiler by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-116747@lists.php.net to get a copy of this message | ||
Note Submitter:
----
if you want to return the path of the script currently executing, you can use the notes made by tim
ATscurvyDOTnewyorkNETs
timATscurvyDOTnewyorkNETs
22-May-2002 04:45
if you want to know the *File System* (not web) Absolute Path (expanding the links) of the script
that's currently being executed, try this:
$path=dirname(realpath($_SERVER['SCRIPT_FILENAME']));