Is this a correct string to show only files that look like so: *_2222.jpg if ($file_names != "." && $file_names !=".." && ereg('(^[0-1231]$).jpg$',$file_name)) Any help would be great. Jas
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php