Re: [PHP] search a text file

2001-03-12 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Peter Benoit) wrote: > Very good info, but this text is located in a text file. How can I > reference it this way? Get the contents of the text file--for example, using fopen() with fread()--into a variable. Then use that variable as the se

RE: [PHP] search a text file

2001-03-12 Thread Peter Benoit
Very good info, but this text is located in a text file. How can I reference it this way? -Original Message- From: CC Zona [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:36 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] search a text file [quotes returned to bottom-posting

Re: [PHP] search a text file

2001-03-12 Thread CC Zona
[quotes returned to bottom-posting, 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 > > of t

RE: [PHP] search a text file

2001-03-12 Thread Peter Benoit
OK, I'm a little new to this, else I would have known that. Any examples out there I could use/modify? thanks, pete -Original Message- From: CC Zona [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:16 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] search a text file

Re: [PHP] search a text file

2001-03-12 Thread CC Zona
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. > > Is it possible to extr

[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