Re: PHP script + read file

From: Date: Sat, 20 Nov 2004 21:40:07 +0000
Subject: Re: PHP script + read file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202569@lists.php.net to get a copy of this message
On Sunday 21 November 2004 05:11, Jerry Swanson wrote: > I know how to read a file. But the problem is different, I have > directory that has more than 250 files. I need to read each file and > process it. But How I know what file to read? > ls -l (show all files). How I can select each file without knowing > name? The file will be process and than delete. To get list of files from directory: manual > Directory Functions To open/read/write/delete files: manual > Filesystem Functions There are plenty of examples in the manual and in the user notes of the online manual. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Do not try to solve all life's problems at once -- learn to dread each day as it comes. -- Donald Kaul */

« previous php.general (#202569) next »