On Tue, Dec 16, 2003 at 01:30:14PM +0100, Kim Steinhaug wrote:
: 
: I found out that what the script accually does is choke on "\n\n",
: empty lines. I havnt found a way to solve this with the script,
: 
: What I do now is use TextPad and just replace all occurencies
: of "\n\n" with "\n-\n" or something and it works all nice. But this
: is a bad way of doing it, since the script still doesnt accually work...

You have two options:

1) massage your data beforehand so that your script works properly

2) buffer your input lines so that you process them only after you have
read a complete "entry", since one entry may span multiple lines in your
error_log.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to