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?
>>
>
>
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
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
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
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
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
://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
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
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
- 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
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?
>
>
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().
>> 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]
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:
.
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?
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
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)
-&
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
18 matches
Mail list logo