[EMAIL PROTECTED] wrote:

who can tell me what's the pattern string mean.
if(ereg("[\\][n]",$username))
{
   /*Do err*/
}

It's looking for a \ character or a \ character followed by the letter n anywhere within the string $username.


--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to