Re: [PHP] Directory Listing in an Array

2001-08-20 Thread Dallas K.
-- Original Message - From: "Chris Aitken" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, August 20, 2001 8:05 PM Subject: [PHP] Directory Listing in an Array > Hey all, > > Just something I havent been able to sort out in t

Re: [PHP] Directory Listing in an Array

2001-08-20 Thread speedboy
> Just something I havent been able to sort out in the archives, but what im > wanting to do it this. Do a listing of all files in a directory, and load > up an array with each returned filename. $files_dir = "/tmp"; chdir($files_dir); $dir_handle = @opendir($files_dir) or die("Unable to open $

Re: [PHP] Directory Listing in an Array

2001-08-20 Thread David Robley
On Tue, 21 Aug 2001 12:35, Chris Aitken wrote: > Hey all, > > Just something I havent been able to sort out in the archives, but what > im wanting to do it this. Do a listing of all files in a directory, and > load up an array with each returned filename. > > Am I pissing into a windy pipe dream o

[PHP] Directory Listing in an Array

2001-08-20 Thread Chris Aitken
Hey all, Just something I havent been able to sort out in the archives, but what im wanting to do it this. Do a listing of all files in a directory, and load up an array with each returned filename. Am I pissing into a windy pipe dream or is there a simple solution for this ? Cheers Chris