Re: [PHP] Parsing a file line by line

2003-11-25 Thread Justin French
On Wednesday, November 26, 2003, at 12:44 PM, Jason Williard wrote: I would like some assistance in creating a script that will parse a file line by line. The file that I need to parse has a designator at the beginning of most lines. I need the script to search for a specific designators (list

Re: [PHP] Parsing a file line by line

2003-11-25 Thread - Edwin -
On Tue, 25 Nov 2003 17:44:09 -0800 "Jason Williard" <[EMAIL PROTECTED]> wrote: ...[snipped]... > Does anyone have any ideas for me? Okay, this is just an idea. Use file() to put everything in an array. http://www.php.net/manual/en/function.file.php Then find a function here that would let y

[PHP] Parsing a file line by line

2003-11-25 Thread Jason Williard
I would like some assistance in creating a script that will parse a file line by line. The file that I need to parse has a designator at the beginning of most lines. I need the script to search for a specific designators (listed in an array) and then send an e-mail with the contents of each line.