Jump to content

setting a Var


denoteone

Recommended Posts

from what I can tell this variable is supposed to set the max size of a file that can be sent. but I don't understand the format of the variable. any help explaining it would be awesome.

 

var $eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00"; 

 

 

of course I am getting an error that the allocated size is being used up. so I want to bump up the allowed files sizes.

 

Link to comment
https://forums.phpfreaks.com/topic/108394-setting-a-var/
Share on other sites

here is the error. I am using a zip function that allows people to select check boxes then zips the files and sends them via email.

 

 

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 820233 bytes) in /var/www/html/zip.lib.php on line 179

 

here is the code from that line

 

$this -> eof_ctrl_dir .

I am sure this wont help much.

 

but what you are saying is that the php.ini file would have the alloted file size variable in it?

Link to comment
https://forums.phpfreaks.com/topic/108394-setting-a-var/#findComment-555679
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.