Re: [PHP] Directory Listing in an Array

2001-08-20 Thread Dallas K.
This is what I use file://DIR to start looking in $basedir = "C:/Inetpub/wwwroot/_ActiveClientFiles/GLS/portfolio/"; file://working DIR or the dir to change to. $wdir = "web/"; // list of DIRs var $dirlist; $filelist; $add_dir ; /

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