hi

How about using fopen() and reading line by line. And for xml parsing if you are using DOM switch to SAX that will always help.


Nick Wilson wrote:


Hi all,

Can anyone spot the problem here and point me in the right direction?

I have a script that goes and fetches the xml at weblogs.com
(http://www.weblogs.com/changes.xml).

It then extracts the urls of the updated blogs and goes and uses file()
to read each of them and extract some more stuff.

It's probably not too surprising that I'm getting fatal errors becuase
of memory... but what can I do?


Many thanks!




--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.

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



Reply via email to