[PHP] Parse an email message for content

2002-06-10 Thread Jonathan Duncan
I am trying to display on a web page a daily message from a mailing list that I am on. What I want is to have a script run on my server each day at a certain time that reads the mail file that contains the daily email message, takes the Article Titles and makes them the link text to be used with

RE: [PHP] Parse an email message for content

2002-06-10 Thread Lazor, Ed
: [PHP] Parse an email message for content I am trying to display on a web page a daily message from a mailing list that I am on. What I want is to have a script run on my server each day at a certain time that reads the mail file that contains the daily email message, takes the Article Titles

Re[2]: [PHP] Parse an email message for content

2002-06-10 Thread Julie Meloni
LE You'll need to have a cgi version of PHP to use in cronjobs Not entirely true; you can run a script off your server as well, using lynx -dump http://server/path/to/file as the line in crontab - Julie -- Julie Meloni -- [EMAIL PROTECTED] -- www.thickbook.com -- PHP General Mailing List

RE: Re[2]: [PHP] Parse an email message for content

2002-06-10 Thread Lazor, Ed
Good point. -Original Message- LE You'll need to have a cgi version of PHP to use in cronjobs Not entirely true; you can run a script off your server as well, using lynx -dump http://server/path/to/file as the line in crontab - Julie

Re: [PHP] Parse an email message for content

2002-06-10 Thread Jonathan Duncan
grep.php Good luck =) -Original Message- From: Jonathan Duncan [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 12:48 PM To: [EMAIL PROTECTED] Subject: [PHP] Parse an email message for content I am trying to display on a web page a daily message from a mailing list that I am o

RE: [PHP] Parse an email message for content

2002-06-10 Thread Lazor, Ed
Exploding at the = is a good idea. I'd just fread the file into a variable, explode it, and then egrep up to the first delimeter. I'm not sure if this is the best approach... but it's the most likely approach I'd take if I were working on this. =) --- I am looking for an

RE: [PHP] Parse an email message for content

2002-06-10 Thread Michael Geier
while not documented, PHP now has the mail-parse functions (see documentation for function list) -Original Message- From: Jonathan Duncan [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 3:48 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Parse an email message for content Ed

Re: [PHP] Parse an email message for content

2002-06-10 Thread Jonathan Duncan
Michael, Wow, correct you are: http://www.php.net/manual/en/ref.mailparse.php Thank you, I will definitely see what that has to offer me. Jonathan Duncan Michael Geier [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... while not documented, PHP now has the

RE: [PHP] Parse an email message for content

2002-06-10 Thread Lazor, Ed
Which documentation should we check to get information on the undocumented features? ;) ps... I'm joking. -Original Message- while not documented, PHP now has the mail-parse functions (see documentation for function list)