Re: [PHP] Re: file_exists and wildcard/regex

2008-12-09 Thread German Geek
On Wed, Dec 10, 2008 at 1:13 PM, Stut <[EMAIL PROTECTED]> wrote: > > On 9 Dec 2008, at 23:24, Daniel Kolbo wrote: > > Maciek Sokolewicz wrote: >> >>> Daniel Kolbo wrote: >>> What is the preferred method with php to test and see if a file [pattern] exists? For example, i only n

Re: [PHP] Re: file_exists and wildcard/regex

2008-12-09 Thread Stut
On 9 Dec 2008, at 23:24, Daniel Kolbo wrote: Maciek Sokolewicz wrote: Daniel Kolbo wrote: What is the preferred method with php to test and see if a file [pattern] exists? For example, i only need to search in one directory, that may have any number of files named such as afile1.txt, afi

Re: [PHP] Re: file_exists and wildcard/regex

2008-12-09 Thread Chris
Daniel Kolbo wrote: Maciek Sokolewicz wrote: Daniel Kolbo wrote: What is the preferred method with php to test and see if a file [pattern] exists? For example, i only need to search in one directory, that may have any number of files named such as afile1.txt, afile2.txt, afile3.txt, A

[PHP] Re: file_exists and wildcard/regex

2008-12-09 Thread Daniel Kolbo
Maciek Sokolewicz wrote: Daniel Kolbo wrote: What is the preferred method with php to test and see if a file [pattern] exists? For example, i only need to search in one directory, that may have any number of files named such as afile1.txt, afile2.txt, afile3.txt, And also, bfile1.txt,

[PHP] Re: file_exists and wildcard/regex

2008-12-09 Thread Maciek Sokolewicz
Daniel Kolbo wrote: What is the preferred method with php to test and see if a file [pattern] exists? For example, i only need to search in one directory, that may have any number of files named such as afile1.txt, afile2.txt, afile3.txt, And also, bfile1.txt, bfile2.txt, bfile3.txt, ..