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 advice, you'll need to give some examples. Chris Leif K-Brooks wrote: > 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 unsubscribe, visit: http://www.php.net/unsub.php