I'm trying to make sure the referer is right on certain pages. I know
the variable and everything, but it gets annoying to have to check wth
www., without www., with urlencode(), and with rawurlencode(). If there
an easier way?
--
PHP General Mailing List (http://www.php.net/)
To
This depends on what you mean by right, of course, but remember that
the referer (sic) is just a string. You can use any string manupulation
functions to help you test your string, such as searching for
substrings, matching patterns with regular expressions, etc.
If you need more specific
2 matches
Mail list logo