[imp] attachment problem on line 621 in compose.php3

M Z Rahman zrahman@partex.net
Sat, 13 Oct 2001 07:41:35 +0000


Well, in all my IMP boxes I have max_execution_time set to 60, works fine for 8
MB files as I have set the max_upload limit to 8 MB.

Zia

-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS d-(+) s-:+ a- C++++$ UL++++$ P+++ L+++ E--- W+++ N o? K? w++++ O+ M- V? PS+ 
PE+ Y PGP t 5? X+ R- tv++ b+(++) DI- D+ G e++ h! r++ y?
-----END GEEK CODE BLOCK-----


Quoting Cory Merritt <cmerritt@merricomp.com>:

> I have tracked the browser timeout issue that I am experiencing down to line
> 
> 621 in compose.php3 --> IMP 2.2.6.   
> 
> The line reads:
> 
> $file_part->contents = chunk_split(base64_encode($contents . "\n";
> 
> With max_execution_time set to zero, the browser web page times out waiting
> for 
> some data from IMP.  If the max_execution_time is set to 30, the web page
> gives 
> an max execution time exceeded message. Is there a way to have the script
> still 
> communicate with the browser while the attachment is being slit up or
> whatever 
> is happening on line 621.
> 
> Helllp....
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>