Re: [PHP] filter files in a directory

2002-08-26 Thread Justin French
You need to have a look at the regular expression functions like ereg, eregi, ereg_replace, eregi_replace and the preg functions. The manual itself doesn't document regular expression pattern matching that well, but there is a reasonable starter article here: http://www.phpbuilder.com/columns/da

[PHP] filter files in a directory

2002-08-26 Thread rdkurth
I am showing a directory of files and I don't what all the files to show on the screen. I was able to get the . and the .. not to show with what I have below but there are some other files in there that look like this mylist.confg. I don't want them to show in the directory list. I tried && $files