[PHP] search a text file

2001-03-12 Thread Peter Benoit
I've got a bit of a task where I need to poll a text file for several lines of text which is buried deep within the file. These lines change each day, but the text surrounding them do not. Is it possible to extract these lines of information based on the text surrounding them? -- PHP General

RE: [PHP] search a text file

2001-03-12 Thread Peter Benoit
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Peter Benoit) wrote: > I've got a bit of a task where I need to poll a text file for several lines > of text which is buried deep within the file. These lines change each day, > but the text surrounding them do not. > >

[PHP] In my attempt to read from a text file...

2001-03-12 Thread Peter Benoit
I'm trying preg_match with no success. I'd like to search inside the text file for my name, then pull all the info from that point till the next name which is Fred. The text file would be called names.txt So I'm trying to preg_match("Peter",names.txt,$myname) then do the same for Fred, and

RE: [PHP] search a text file

2001-03-12 Thread Peter Benoit
, for clarity] In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Peter Benoit) wrote: > In article > <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Peter Benoit) wrote: > > > I've got a bit of a task where I need to poll a text file for several > lines > >

RE: [PHP] Need to download files in IE

2001-03-12 Thread Peter Benoit
Yes, zip the pdf. Search the MSKB for more info. -Original Message- From: James R. Edgar [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:50 PM To: 'Pierre-Yves Lemaire' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Need to download files in IE Hello, This is the URL of the link t