Relative Url
| From: | Chris Thomas | Date: | Thu, 01 Apr 2004 15:04:58 +0000 |
| Subject: | Relative Url | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182024@lists.php.net to get a copy of this message | ||
Is there anyway that i can get a url relative to my server for a script that
is being run??
The script is being included in mulitple files and $_SERVER['SCRIPT_NAME']
just gives me the name of the file that is including the other scripts.
Also $_SERVER['SCRIPT_FILENAME'] is returning nothing.
Thanks
Chris