Catch exception : "Bytes Exceeds the limit" with a QFileAsset

thread: 2 messages  |  last: a year ago  |  started: monday, april 26, 2010, 2:30 pm pdt


#1  |  moroa06 (x.faithinlove.lsd@mac.com) France
Monday, April 26, 2010, 2:30 PM PDT

Hi,

I need a quick help !!!!!!!!!!!

Here's my problem :

When I upload a big file (like a video) and when its size exceeds the size of the php.ini, an error occurs :

PHP Warning:  POST Content-Length of 873077890 bytes exceeds the limit of 33554432 bytes in Unknown on line 0

I would like to know how I can catch this error and display a show error message in my dialog box like $this->dlgFileAsset->ShowError(ERREUR1_UP);

Thanks in advance for your help.

Bye

#2  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Tuesday, April 27, 2010, 5:31 PM PDT

Double posted at http://www.qcodo.com/forums/forum.php/2/4152/ -- see that link for the discussion.



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.