I’m getting this error in my code. Was wondering if someone could shed some light?
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 63782913 bytes) in /home/ptrmusic/ptrmusic.com/download.php on line 79
We offer mp3s to our customers. Most file sizes are under 25 meg and our download.php works fine. This one in particular is 60 meg. Under the 90 meg limit specified in our phpinfo.php. Curious to know why it’s not working.
Here is a bit of the code…
if ( $fp )
$buffer .= fgets($fp, 4096);
header(‘Content-Disposition: attachment; filename=’.$file_name.’.mp3’);
then line 79 is…
Thanks in advance…