note 22644 added to function.realpath
| From: | desolate19 at hotmail dot com | Date: | Tue, 25 Jun 2002 21:51:21 +0000 |
| Subject: | note 22644 added to function.realpath | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32198@lists.php.net to get a copy of this message | ||
to find the directory the currently executing script is in try
$_SERVER[ SCRIPT_NAME ]
$_SERVER[ SCRIPT_FILENAME ]
you should be able to get what you need out of that.
--
http://www.php.net/manual/en/function.realpath.php
http://master.php.net/manage/user-notes.php?action=edit+22644
http://master.php.net/manage/user-notes.php?action=delete+22644
http://master.php.net/manage/user-notes.php?action=reject+22644