$path = "/home/www/2.php";
$path = "/home/www/2&?.php";
how to use regular expression or other method to find if $path is a valid string for file path. thank you