Errors on the top page of compose.php3

Thomas GUTHMANN tom@calixo.net
Thu, 09 Nov 2000 18:22:27 +0100


Is it possible to have a great message which says "Your mail is too big
!" instead the compose page with errors on the top ?

This is what i received (on the top of the compose page)
----Snip -------

Warning: Max file size of 2097152 bytes exceeded - file [file_upload]
not saved in Unknown on line 0

Warning: Cannot add header information - headers already sent by (output
started at
http://webmail.calixo.net/compose.php3?uniq=973789936334:7) in
/var/lib/apache/php/session.inc on line 439

Warning: Cannot add header information - headers already sent by (output
started at
http://webmail.calixo.net/compose.php3?uniq=973789936334:7) in
/var/lib/apache/php/session.inc on line 440

Warning: Cannot add header information - headers already sent by (output
started at
http://webmail.calixo.net/compose.php3?uniq=973789936334:7) in
/var/lib/apache/htdocs/horde/imp/templates/doctype.inc on line 3

Warning: Undefined variable: attachments_size in
/var/lib/apache/htdocs/horde/imp/compose.php3 on line 915

-----snip -----

I can increase the upload limit but it would be the same if the guy put
a bigger file than the upload limit ...
Any ideas ? (I'm sure there is a solution but which ... )


My conf ig :
- apache 1.3.12
- horde 1.2.2
- imp 2.2.2
- php 4.0.2


Tom