From:             jahajee dot com at gmail dot com
Operating system: linux
PHP version:      4.4.8
PHP Bug Type:     *General Issues
Bug description:  max_file_size produces no error

Description:
------------
I'm using optional file upload form with max file upload size of 200 Kb
.Error check by backend script is done and error reported till the Max file
size is 2 Mb (PHP max file size setting) .Since after that if the file size
increases no file is actually send and hence the form is processed without
any warning to the user. For example if the user uploads file of 1.6 Mb say
then he gets an error that the file size is more than 200 Kb but if the
uploaded file size is 2.3Mb no file is uploaded and the whole form
processed without any error.
Saw the same in other discussions but of no help .Can't use the GET method
as the upload file is optional in the form.
Jahajee

Expected result:
----------------
Expects to warn the user even if the file size is more than 2Mb(PHP Max
file size setting)

Actual result:
--------------
No error reported and file processed without the uploaded file

-- 
Edit bug report at http://bugs.php.net/?id=44865&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44865&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44865&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44865&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44865&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44865&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44865&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44865&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44865&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44865&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44865&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44865&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44865&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44865&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44865&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44865&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44865&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44865&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44865&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44865&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44865&r=mysqlcfg

Reply via email to