Re: set multiple variables
| From: | Daniel Schierbeck | Date: | Sun, 03 Oct 2004 10:20:52 +0000 |
| Subject: | Re: set multiple variables | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198532@lists.php.net to get a copy of this message | ||
Argesson wrote:
try this: if ($REMOTE_ADDR == "212.3.54.65" && $REMOTE_ADDR == "212.3.54.66") Joe Szilagyi wrote:Make that: if ($REMOTE_ADDR == "212.3.54.65" || $REMOTE_ADDR == "212.3.54.66")Hi, I have this working: if ($REMOTE_ADDR == "212.3.54.65") {header("Location: http://www.google.com/search?&q=huzzah");Redirect browserexit; }But I want to specify multiple IPs. What's the best recommended way for doing that? thanks Joe