note 30042 added to function.preg-match
| From: | konik at rack1 dot php dot net | Date: | Wed, 05 Mar 2003 08:41:20 +0000 |
| Subject: | note 30042 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44849@lists.php.net to get a copy of this message | ||
there was a mistake in my precedent note this the corrected version :
preg_match("/^(((([1-9])|([1-9][\d])|((1[\d]{2})|(2[0-4]
[\d])|(25[0-4])))(\.(([\d])|([1-9][\d])|((1[\d]{2})|(2[0-4]
[\d])|(25[0-4])))){3})|(0(\.0){3}))$/",$ip);
--
http://www.php.net/manual/en/function.preg-match.php
http://master.php.net/manage/user-notes.php?action=edit+30042
http://master.php.net/manage/user-notes.php?action=delete+30042
http://master.php.net/manage/user-notes.php?action=reject+30042