Hi!
On 8/8/05, Richard Davey <[EMAIL PROTECTED]> wrote:
> Why are you creating lots of arrays and then using in_array to check
> them? Just seems a little pointless in this instance as it gives you
> no real benefit - comparing a one element array against a variable is
> just... well.. comparing
Is this potentially bad, security wise, to do something like this? Can
you guys recommend any way to tighten this up a bit or do this sort of
thing better/more eloquently?
The idea is to use this in the global header of a site that may be
invoked through up to 20-30 different third level
Hi, I have this working:
if ($REMOTE_ADDR == "212.3.54.65") {
header("Location: http://www.google.com/search?&q=huzzah";);
Redirect browser
exit;
}
But I want to specify multiple IPs. What's the best recommended way for
doing that?
thanks
Joe
--
PHP General Mailing
Just a follow up on this one--I've seen where consistently that
$HTTP_REFERER will only show local referers, but not stuff from other
sites/hostnames. This is on mod_php... any workaround for that?
Regards,
Joe
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "php"
4 matches
Mail list logo