Re: [PHP] duplicate filenames but different .extention

2005-12-19 Thread Dragan Stanojevic - Nevidljivi
matt VanDeWalle wrote: hello again I am trying to figure out how i can read the list of files in a directory using the opendir() and readdir() functions. Normally this goes fine but within the loop, what i am wanting to do is echo the filename if it is a jpg file, but if its a .gif, just cont

Re: [PHP] duplicate filenames but different .extention

2005-12-18 Thread Philip Hallstrom
hello again I am trying to figure out how i can read the list of files in a directory using the opendir() and readdir() functions. Normally this goes fine but within the loop, what i am wanting to do is echo the filename if it is a jpg file, but if its a .gif, just continue. I have several fi

Re: [PHP] duplicate filenames but different .extention

2005-12-18 Thread Curt Zirzow
On Sun, Dec 18, 2005 at 05:12:33PM -0600, matt VanDeWalle wrote: > hello again > I am trying to figure out how i can read the list of files in a directory > using the opendir() and readdir() functions. Normally this goes fine but > within the loop, what i am wanting to do is echo the filename if

[PHP] duplicate filenames but different .extention

2005-12-18 Thread matt VanDeWalle
hello again I am trying to figure out how i can read the list of files in a directory using the opendir() and readdir() functions. Normally this goes fine but within the loop, what i am wanting to do is echo the filename if it is a jpg file, but if its a .gif, just continue. I have several fi