[PHP] Re: filter files in a directory

2002-08-26 Thread Joel Boonstra
> 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

[PHP] Re: filter files in a directory

2002-08-26 Thread Philip Hallstrom
Try adding && !ereg("*.config", $files) -philip On Mon, 26 Aug 2002 [EMAIL PROTECTED] wrote: > 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 the