Re: excluding files

From: Date: Thu, 28 Feb 2002 15:46:04 +0000
Subject: Re: excluding files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86612@lists.php.net to get a copy of this message
if (($file_name != ".") && ($file_name != "..") && !eregi("[a-z0-9]+pv\.html",$file)) Op donderdag 28 februari 2002 16:32, schreef Craig Westerman: > 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 (#86612) next »