note 14676 added to function.ereg.php
| From: | carl at NOSPAM dot thep dot lu dot se | Date: | Wed, 08 Aug 2001 22:10:54 +0000 |
| Subject: | note 14676 added to function.ereg.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16493@lists.php.net to get a copy of this message | ||
It deserves to be pointed out that this function is not binary safe.
If you use it to validate user input, check separately for null bytes
or make sure that a 0x00 in the input won't be a security problem.
http://www.php.net/manual/en/function.ereg.php