Re: [PRES] cvs: pres2 / index.php objects.php
| From: | Rasmus Lerdorf | Date: | Sun, 22 Jun 2003 04:05:30 +0000 |
| Subject: | Re: [PRES] cvs: pres2 / index.php objects.php | ||
| References: | 1 2 | Groups: | php.pres |
| Request: | Send a blank email to pres+get-753@lists.php.net to get a copy of this message | ||
On Sun, 22 Jun 2003, Christian Wenz wrote:
> > -<base
> > href="<?="http://$_SERVER[HTTP_HOST]".$baseDir?>">
> > +<base href="<?php echo
> > "http://".getenv('HTTP_HOST').$baseDir?>">
>
> getenv() does not work in ISAPI mode. Is it necessary to use this instead of
> $_SERVER?
Nah, I guess not. But that sounds like something that should be fixed. I
tend to run everything with $_SERVER turned off these days for performance
reasons.
-Rasmus