>> Whats the most compact way to do this? substr? ereg? I think regular expressions is the best way because working with strings looks like this:
if ($strtolower($pass)!=$pass) && ($strtoupper($pass)!=$pass) {
echo "OK!";
} else {
echo "WRONG!";
}
but using reg expr it's even more shorter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

