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
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
2 matches
Mail list logo