Re: php-master-web /scripts update-backend
| From: | Gabor Hojtsy | Date: | Tue, 19 Nov 2002 19:24:51 +0000 |
| Subject: | Re: php-master-web /scripts update-backend | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-13697@lists.php.net to get a copy of this message | ||
> ok, so the problemo is in this little snippet:
>
> // Parse the index file searching for news item information
> function ParseNews ($index_page = "") {
>
> // Split the file by newlines
> $lines = preg_split("/\n/", $index_page);
> print "<pre>"; print_r($lines); print "</pre>";
>
> it actually prints the file too... well, stdout -- print_r is probably not
> the function to be used here, and if you do it needs to be encased in
output
> buffers. i also get the actual generated rss on stdout.
Well, yep, you are right. I have left some debug printing inside.
Just committed the correction, hope it will work ;)
Goba