Re: Memory Size Help Please

From: Date: Wed, 19 Nov 2003 17:18:36 +0000
Subject: Re: Memory Size Help Please
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-170321@lists.php.net to get a copy of this message
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.

« previous php.general (#170321) next »