Re: Re: Matching *exact* string?
| From: | Nick Wilson | Date: | Sun, 31 Oct 2004 11:56:33 +0000 |
| Subject: | Re: Re: Matching *exact* string? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200765@lists.php.net to get a copy of this message | ||
* and then Per Jessen declared....
> foreach($ips as $ip) {
> preg_match("/^$ip$/", $_SERVER[REMOTE_ADDR]);
> $ban = TRUE;
> }
Great! - found a more sutable way but that's appreciated. Cheers!
--
Nick W