Re: [PHP] confused about getenv arguements

2001-01-27 Thread Rasmus Lerdorf
Just put in a file and read through it. Note that HTTP_REFERER (1 R) is only set if you click on a link to get to the page. Also note that relying on HTTP_REFERER for anything important is not safe. Anybody can spoof this variable. -Rasmus On Sat, 27 Jan 2001, Noel Akins wrote: > Hello, > I

[PHP] confused about getenv arguements

2001-01-27 Thread Noel Akins
Hello, I found this script at zend. Please note the getenv("HTTP_REFFERER"). http://www.odey.com. Turn the refererring URL into a variable */ $from = getenv("HTTP_REFERER"); /* Check to see if the URL in the variable is a valid referrer. Add the page URL which you would like people to arrive fr