note 7455 deleted from Constants by ronabop
| From: | ronabop@php.net | Date: | Sun, 03 Sep 2000 20:37:52 +0000 |
| Subject: | note 7455 deleted from Constants by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4088@lists.php.net to get a copy of this message | ||
In order to move my scripts around the harddisk, without recoding all directory names, I desperately
need a __PATH__ equivalent to __FILE__ - or is this possible in another way? $SCRIPT_FILE,
$SCRIPT_FILENAME and $PATH_TRANSLATED all return the main file, not the included file. How do other
people solve this?