Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-10-13 Thread bytte
Thanks man. Appreciate your answer so long after the thread was started. Ryan Lange wrote: > > This is an old thread, but I noticed that no one actually hit upon the > *real* problem. > > On Mon, Feb 16, 2009 at 7:28 AM, bytte wrote: > >> >> Bug in my code or bug in Zend Framework? >> > >

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-10-12 Thread Thomas Weidner
ot; To: Sent: Monday, October 12, 2009 3:43 PM Subject: Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught? This is an old thread, but I noticed that no one actually hit upon the *real* problem. On Mon, Feb 16, 2009 at 7:28 AM, bytte wrote: B

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-10-12 Thread Ryan Lange
This is an old thread, but I noticed that no one actually hit upon the *real* problem. On Mon, Feb 16, 2009 at 7:28 AM, bytte wrote: > > Bug in my code or bug in Zend Framework? > Neither. It's an unfortunate short-coming of PHP itself. http://us3.php.net/manual/en/ini.core.php#ini.post-max-si

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-03-02 Thread bytte
Thanks Thomas. I downloaded the trunk code today and now the script finds out that a file was submitted with a size bigger than what's allowed in php.ini. So that's great now. However, I found out the upload script is now only working about 50% of the times I tried it. I'll dive into my code once

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-25 Thread Thomas Weidner
quot; To: Sent: Wednesday, February 25, 2009 5:35 PM Subject: Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught? Is anyone else having similar problems? I've spend a few hours on this issue already and couldn't come up with a decen

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-25 Thread bytte
Is anyone else having similar problems? I've spend a few hours on this issue already and couldn't come up with a decent solution. -- View this message in context: http://www.nabble.com/User-uploads-file-bigger-than-what%27s-allowed-in-php.ini%2C-can-it-be-caught--tp21936346p22206576.html Sent f

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-18 Thread bytte
://www.thomasweidner.com > > - Original Message - > From: "bytte" > To: > Sent: Wednesday, February 18, 2009 1:03 AM > Subject: Re: [fw-general] User uploads file bigger than what's allowed in > php.ini, can it be caught? > > >> >> It

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-18 Thread Thomas Weidner
Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "bytte" To: Sent: Wednesday, February 18, 2009 1:03 AM Subject: Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught? It's really weird. Sinc

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-17 Thread bytte
It's really weird. Since I'm using the code from the svn trunk it doesn't output the MAX_FILE_SIZE in the html code no more. It does show it in the first form on the same page. All my error messages display fine. But still no error message when the user uploads a file bigger than what's allowed

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-17 Thread Thomas Weidner
- Original Message - From: "bytte" To: Sent: Tuesday, February 17, 2009 2:09 PM Subject: Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught? Thanks Thomas. I've used the code from the trunk and now it says: Fatal error: Cann

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-17 Thread bytte
end Framework > http://www.thomasweidner.com > > - Original Message - > From: "bytte" > To: > Sent: Monday, February 16, 2009 12:28 PM > Subject: Re: [fw-general] User uploads file bigger than what's allowed in > php.ini, can it be caught? > >

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-16 Thread Thomas Weidner
ginal Message - From: "bytte" To: Sent: Monday, February 16, 2009 12:28 PM Subject: Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught? Bug in my code or bug in Zend Framework? bytte wrote: I'm now using setMaxFileSize().

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-16 Thread bytte
>> Greetings >> Thomas Weidner, I18N Team Leader, Zend Framework >> http://www.thomasweidner.com >> >> - Original Message - >> From: "bytte" >> To: >> Sent: Tuesday, February 10, 2009 10:51 PM >> Subject: Re: [fw-general]

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-10 Thread bytte
you are trying to receive a non existant file > for example. > > Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > > - Original Message ----- > From: "bytte" > To: > Sent: Tuesday, February 10, 2009 10:

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-10 Thread Thomas Weidner
. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "bytte" To: Sent: Tuesday, February 10, 2009 10:51 PM Subject: Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-10 Thread bytte
rom: "bytte" > To: > Sent: Tuesday, February 10, 2009 4:43 PM > Subject: [fw-general] User uploads file bigger than what's allowed in > php.ini, can it be caught? > > >> >> I'm using Zend_File via Zend_Form_Element_File to let my web

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-10 Thread Thomas Weidner
09 4:43 PM Subject: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught? I'm using Zend_File via Zend_Form_Element_File to let my web application's users upload files. I use the following Validators: $file1->setRequired(true) -&

[fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-02-10 Thread bytte
I'm using Zend_File via Zend_Form_Element_File to let my web application's users upload files. I use the following Validators: $file1->setRequired(true) ->addValidator('NotEmpty',true) ->addValidator('Count',false,array('min' => 1, 'max' => 1)) ->addValidator('MimeType', t