How would I check if a variable has special characters in it like [EMAIL PROTECTED] etc ?
and give an error if it contains one of them.
if(preg_match('/[^a-z0-9]/i',$value)) { echo "special characters present!"; }
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

