Categories > [old] TbsOoo & TinyDoc >

Maximum File Size Spreadsheet

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Josh
Date: 2007-09-28
Time: 02:12

Maximum File Size Spreadsheet

I want ask to maximum file size that can be provited with class tbsoo?
I use file *.sxc that size almost 200KB, can i used it?
Thanx.
Sorry my language is bad...
By: Olivier
Date: 2007-09-28
Time: 09:34

Re: Maximum File Size Spreadsheet

Hi,

It's depends only on the var "memory_limit" in your php.ini.
Also sometime you have to increase the "max_execution_time" to finish the job.

Olivier



By: Josh
Date: 2007-10-01
Time: 03:57

Re: Maximum File Size Spreadsheet

Hi,
Thanks for the info.
I have check my php.ini
"memory_limit" is 8 MB and "max_execution_time" is 60s. What the optimal that must I used it.

Best regards,
Josh
By: Olivier
Date: 2007-10-01
Time: 10:49

Re: Maximum File Size Spreadsheet

Try 32/64 Mb and 300 seconds. You could put more, but be careful with this value if there are globals for all PHP scripts. It better to fix it in the PHP script like

ini_set("memory_limit" , "32M");
ini_set('max_execution_time', 300);  *** OR *** set_time_limit(300);

Olivier
By: Josh
Date: 2007-10-02
Time: 01:58

Re: Maximum File Size Spreadsheet

Ok, my friend
Iwill try it first.

Best regards,
Josh