Hi,
I have the following code:
if (!ereg('^[a-z_]$', '$sec')) {
// failed url validation
echo "You are not allowed to access this page in that way";
} else {
$sec is a variable passed in the URL that I want to make sure is only lowercase letters or underscore, the above code fails...