RE: solution-digest

From: Date: Wed, 01 Nov 2000 07:48:01 +0000
Subject: RE: solution-digest
Groups: php.db 
Request: Send a blank email to php-db+get-4084@lists.php.net to get a copy of this message
---------------------------------------------------------------------------- ----------------- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are not the intended recipient you are hereby notified that any perusal, use, distribution, copying or disclosure is strictly prohibited. If you have received this email in error please immediately advise us by return email at postmaster@normandy.com.au and delete the email document without making a copy. ---------------------------------------------------------------------------- ----------------- Im really not sure which is the original question but you dont need to use ls or dir... look at readdir() in the directory functions there's perfect examples of geting a file listing Mark Nold markn@enspace.com <mailto:markn@enspace.com> Senior Consultant   Change is inevitable, except from vending machines. > how to retrieve file list from directory? >PHP4.02. > >since I do not remember php would have such a function, you >have to issue a system command and read the results. >On linux systems, you can use exec ("ls /www/", $dir); >or $fp = popen ("ls /www/", "r") will do the job. <snip>

« previous php.db (#4084) next »