Re: Setting or Getting Relative Path for PHP Includes
| From: | Jason Wong | Date: | Mon, 20 Dec 2004 22:26:08 +0000 |
| Subject: | Re: Setting or Getting Relative Path for PHP Includes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204767@lists.php.net to get a copy of this message | ||
On Tuesday 21 December 2004 04:41, Anthony Baker wrote:
> Either that, or is there a way to call this variable from the server
> itself so that it's automatically -- and correctly -- set?
Use a combination of one or more items from $_SERVER.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
"I think if you say you're going to do something and don't do it, that's
trustworthiness."
George W. Bush
August 30, 2000
From an CNN online chat.
*/