note 69437 added to ref.bcompiler
| From: | mongramosjr at gmail dot com | Date: | Wed, 06 Sep 2006 05:10:59 +0000 |
| Subject: | note 69437 added to ref.bcompiler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116744@lists.php.net to get a copy of this message | ||
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']));
----
Server IP: 66.163.161.117
Probable Submitter: 203.87.243.4
----
Manual Page -- http://www.php.net/manual/en/ref.bcompiler.php
Edit -- https://master.php.net/note/edit/69437
Del: integrated -- https://master.php.net/note/delete/69437/integrated
Del: useless -- https://master.php.net/note/delete/69437/useless
Del: bad code -- https://master.php.net/note/delete/69437/bad+code
Del: spam -- https://master.php.net/note/delete/69437/spam
Del: non-english -- https://master.php.net/note/delete/69437/non-english
Del: in docs -- https://master.php.net/note/delete/69437/in+docs
Del: other reasons-- https://master.php.net/note/delete/69437
Reject -- https://master.php.net/note/reject/69437
Search -- https://master.php.net/manage/user-notes.php