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" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php