Re: Why my $SERVER_NAME variable is not working anymore?

From: Date: Thu, 05 Feb 2004 04:03:24 +0000
Subject: Re: Why my $SERVER_NAME variable is not working anymore?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-176860@lists.php.net to get a copy of this message
Thanks John for your quick answer. What I'm looking for is for a miraculous way to convert or adapt my existing code. I already detected where are each one of my lost variables. I just want to know if the only way I have is to manually replace every old variable by the new one. Hope not. Gabriel ----- Original Message ----- From: "John Nichel" <jnichel@by-tor.com> To: "Gabriel Schillaci" <gabriel@schillaci.com> Cc: <php-general@lists.php.net> Sent: Thursday, February 05, 2004 12:55 AM Subject: Re: [PHP] Why my $SERVER_NAME variable is not working anymore? > Gabriel Schillaci wrote: > > > Hi. > > This is a stupid question, I know. > > I'm using my old set of routines well documented and bullet proof. > > They were working just fine on Win and Linux systems, regardless of > > webserver of php version, UNTIL php 4.3.x - IIS over Win destroyed my life. > > > > Is there something I can do on php.ini file or whatever to fool PHP to keep > > recognizing the old-style posted and server variables?? > > > > Yes, I know that is risky to keep working that way, but the projects I made > > were so small that its not worth to change all the code just to improve > > security! > > > > Any help will be welcome. > > > > Thanks > > Gabriel > > > > PS: I always compared PHP to IBM AS/400 RPG language, bc they share an > > incredible ROI, but now.... > > > > Try $_SERVER['SERVER_NAME'] > > http://us2.php.net/manual/en/language.variables.predefined.php > > -- > By-Tor.com > It's all about the Rush > http://www.by-tor.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#176860) next »