Daniel Schierbeck wrote:
Argesson wrote:
try this:
if ($REMOTE_ADDR == "212.3.54.65" && $REMOTE_ADDR == "212.3.54.66")
Joe Szilagyi wrote:
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
Make that:
if ($REMOTE_ADDR == "212.3.54.65" || $REMOTE_ADDR == "212.3.54.66")
isn't the || same as && ? Or I missed something?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php