note 10702 added to ereg
| From: | proside at home dot com | Date: | Thu, 18 Jan 2001 09:23:16 +0000 |
| Subject: | note 10702 added to ereg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9919@lists.php.net to get a copy of this message | ||
heres a quick line for a regest for an IP address:
ereg("^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$", $ip);
http://www.php.net/manual/en/function.ereg.php