while ($file_name = readdir($dir)) if (($file_name != ".") && ($file_name != ".."))
$file_list .= "$file_name"; } This excludes . and .. files. How would I exclude files that contained pv. Thus filenamepv.html would be excluded, but filename.html would not? Thanks Craig ><> [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php