Date: 06/15/02
- Next message: Leif K-Brooks: "[PHP] Best way to store login data?"
- Previous message: Chris Shiflett: "Re: [PHP] session problems...."
- In reply to: Leif K-Brooks: "[PHP] Checking referrer?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Leif K-Brooks: "[PHP] Best way to store login data?"
- Previous message: Chris Shiflett: "Re: [PHP] session problems...."
- In reply to: Leif K-Brooks: "[PHP] Checking referrer?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

