Re: [PHP] Allowed memory size exhausted

2002-12-06 Thread @ Edwin
Hello, "Jeff Schwartz" <[EMAIL PROTECTED]> wrote: > > I have a large amount of data (1,948,280 bytes) that I tried to write out to a file using > > if ($fp = fopen($file,"w")): > > fwrite($fp,$contents,strlen($contents)); > > fclose($fp); > > endif; I'm not sure if I understand this

[PHP] Allowed memory size exhausted

2002-12-06 Thread Jeff Schwartz
I have a large amount of data (1,948,280 bytes) that I tried to write out to a file using if ($fp = fopen($file,"w")): fwrite($fp,$contents,strlen($contents)); fclose($fp); endif; and got "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1948281