Re: [PHP] http referer

2005-02-26 Thread John Holmes
Sebastian wrote: ok, so i made a file manager and i need to prevent people from linking directly to files that do not come from another part of the site. i know i can use http_referer, but i wonder how fool proof it is, i dont want to spit out errors to a legit user that actually came from a valid

Re: [PHP] http referer

2005-02-26 Thread Stan F
- Original Message - From: "Sebastian" <[EMAIL PROTECTED]> To: Sent: Saturday, February 26, 2005 8:31 PM Subject: [PHP] http referer > ok, so i made a file manager and i need to prevent people from linking > directly to files that do not come from another part of the site. > > i know i

RE: [PHP] http referer problems

2001-12-13 Thread Darren Gamble
Good day, It's a bit difficult to determine what the problem is without more information. If you add before this: echo "|$efa||$HTTP_REFERER|"; What is the output? Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta,

RE: [PHP] http referer problems

2001-12-13 Thread Boget, Chris
> if ($efa != "nm" || $HTTP_REFERER != > "http://www.globalhealth.org/news/article.php3?id=1526";){ > do this); > } Not sure what the exact problem is as you haven't been all that descriptive as to what the values are or what is happening, but you should know that $HTTP_REFERER can't be trusted.