Fw: [PHP] dir to array? - SOLVED

2002-07-31 Thread Kevin Stone
- Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <'[EMAIL PROTECTED]'> Sent: Wednesday, July 31, 2002 3:03 PM Subject: Fw: [PHP] dir to array? - SOLVED > *LOL* I was just about to post an answer for y

Re: [PHP] dir to array? - SOLVED

2002-07-31 Thread Jas
I got it fixed, thanks again. Just in case anyone else needs help with this type of item look at readdir() at http://www.php.net Jas "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thursday 01 August 2002 03:00, Jas wrote: > > Not sure why this

Re: [PHP] dir to array?

2002-07-31 Thread Jason Wong
On Thursday 01 August 2002 03:00, Jas wrote: > Not sure why this isn't working, any help is appreciated. I am trying to > read the files in a directory and place them into an array. Here is the > code: > > /* Function to create array of directory contents */ > function dCNTS($files) { > $dir =

[PHP] dir to array?

2002-07-31 Thread Jas
Not sure why this isn't working, any help is appreciated. I am trying to read the files in a directory and place them into an array. Here is the code: /* Function to create array of directory contents */ function dCNTS($files) { $dir = opendir("/path/to/directory/"); while($imgs = readdir($d