Re: old getenv?

From: Date: Wed, 18 Dec 2002 20:37:45 +0000
Subject: Re: old getenv?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128774@lists.php.net to get a copy of this message
The only way to get at HTTP_REFERER is either through getenv(), $HTTP_SERVER_VARS, or $_SERVER. There is no other way around it. But since the methods are universial there shouldn't be any harm in just using the Find/Replace command in your editor. I found one (rather odd) reference that suggested getenv() may not return certain values if Register Globals is turned on, but I do not believe it is true. -Kevin ----- Original Message ----- From: "Bryan Koschmann - GKT" <gktnews@gktech.net> To: "PHP General" <php-general@lists.php.net> Sent: Wednesday, December 18, 2002 1:07 PM Subject: [PHP] old getenv? > Hello, > > I'm trying to use a formmail script (Jack's Formmail) but I'm having a > problem, because it seems to not spit out any info for > getenv("HTTP_REFERER"). Is there any way around this, other than fixing > every reference to that (there are others to get the form information as > well)? I had the same problem with another formmail. > > Any help would be great, thanks! > > Bryan > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#128774) next »