denoteone Posted June 2, 2008 Share Posted June 2, 2008 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 More sharing options...
DarkWater Posted June 2, 2008 Share Posted June 2, 2008 That's P K ENQ NUL NUL NUL NUL. >_> That's what the hex string comes out to. So uhh...yeah. You need to set it in PHP.ini. I have no idea what you could possibly do with that variable. O_o Link to comment https://forums.phpfreaks.com/topic/108394-setting-a-var/#findComment-555675 Share on other sites More sharing options...
denoteone Posted June 2, 2008 Author Share Posted June 2, 2008 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 More sharing options...
revraz Posted June 2, 2008 Share Posted June 2, 2008 The PHP.INI will have the actual size. Link to comment https://forums.phpfreaks.com/topic/108394-setting-a-var/#findComment-555687 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.