Re: [PHP] Question: Processing files in directory and parsing...

2001-07-07 Thread mike cullerton
on 7/7/01 7:38 PM, mike cullerton at [EMAIL PROTECTED] wrote: > on 7/7/01 7:02 PM, Jeff Lewis at [EMAIL PROTECTED] wrote: > >> So I need to know how to process the files in the directory and then how to >> process a few lines. The structure will always be the same and having the >> columns star

Re: [PHP] Question: Processing files in directory and parsing...

2001-07-07 Thread mike cullerton
on 7/7/01 7:02 PM, Jeff Lewis at [EMAIL PROTECTED] wrote: > So I need to know how to process the files in the directory and then how to > process a few lines. The structure will always be the same and having the > columns starting at the same position each time. first, do the files have all the

Re: [PHP] Question: Processing files in directory and parsing...

2001-07-07 Thread [EMAIL PROTECTED]
ahh here is what you need: $d = dir("/etc"); while($entry=$d->read()) { echo $entry."\n"; //put what you want to do to each thing in the dir here... } $d->close(); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: [PHP] Question: Processing files in directory and parsing...

2001-07-07 Thread [EMAIL PROTECTED]
on 7/7/01 9:02 PM, Jeff Lewis at [EMAIL PROTECTED] wrote: > I have a directory with 163 files. I'd like to go through and process all > files with the word "rost" in them. Are these files named in any logical way? ie. 01.htm 02.htm etc. Do you have a list of the files someplace? I'm not cert