On Monday 07 May 2001 16:17, Natasha wrote:
> Lemme rephrase the question here :
>
> How can I use the socket functions to grab large
> amounts of data ? which may not be in the memory
> limit, and doing this without changing the php.ini
>
> how would you solve that ?

(1) Best way: Use wget (as others already mentioned)

(2) General way to avoid memory overflow on such a thing: Stream the data 
to disk, i.e. read n bytes, write 'em to disk, repeat.

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

Error 032: Recursion error - see error 032

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to