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" <[EMAIL PROTECTED]>
To: "Gabriel Schillaci" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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
>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to