excluding files

From: Date: Thu, 28 Feb 2002 15:32:43 +0000
Subject: excluding files
Groups: php.general 
Request: Send a blank email to php-general+get-86609@lists.php.net to get a copy of this message
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 ><> westerman@chanuteks.com

« previous php.general (#86609) next »