Question: Processing files in directory and parsing...

From: Date: Sun, 08 Jul 2001 01:02:44 +0000
Subject: Question: Processing files in directory and parsing...
Groups: php.general 
Request: Send a blank email to php-general+get-56699@lists.php.net to get a copy of this message
I have a directory with 163 files. I'd like to go through and process all files with the word "rost" in them. I'd like to go through each of these files and go line by line to enter the data into a mySQL table. An example of the file would look like this: http://hyrum.net/wwbl/HTML/watrost.htm 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. If someone could give me a few code snippets, I can pick up the rest myself...

« previous php.general (#56699) next »