You don't have an account yet?
Become part of our PHP community and register now...
$filename = 'file.php'; if (substr($filename, strlen($filename)-4) == '.php') { do(); }
if (eregi("[a-zA-Z0-p_-]*.php$",$file)){
if (eregi("[a-zA-Z0-p_-]*.php",$file)){
Leave a comment: