Re: [PRES] cvs: pres2 / index.php objects.php

From: Date: Sun, 22 Jun 2003 05:01:20 +0000
Subject: Re: [PRES] cvs: pres2 / index.php objects.php
References: 1 2 3  Groups: php.pres 
Request: Send a blank email to pres+get-754@lists.php.net to get a copy of this message
Yeah, because we wouldn't want getenv() calls slowing pres2 down. ;-) -Sterling On Sun, 2003-06-22 at 00:05, Rasmus Lerdorf wrote: > 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 -- Good judgement comes from experience, and experience comes from bad judgement. - Fred Brooks

« previous php.pres (#754) next »