Re: document root variable or function
| From: | Michael Virnstein | Date: | Fri, 17 May 2002 14:36:15 +0000 |
| Subject: | Re: document root variable or function | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98100@lists.php.net to get a copy of this message | ||
$_SERVER["DOCUMENT_ROOT"]
"Jason Wong" <php-general@gremlins.com.hk> schrieb im Newsbeitrag
news:200205172102.15046.php-general@gremlins.com.hk...
> On Friday 17 May 2002 20:56, webmaster@tececo.com wrote:
> > Is there a variable in PHP which will show the directory of the document
> > root? I have done a few searches and before I go looking harder I
thought
> > I'd ask. My problem is that I am using both windows, IIS and linux,
Apache.
> > I tried a few things like $document_root which didn't seem to work but I
> > didn't try very hard :)
>
> phpinfo()
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> the router thinks its a printer.
> */
>