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 ><>
> [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to