From:             nishantkumar05 at gmail dot com
Operating system: ubuntu 8.10
PHP version:      5.3.0
PHP Bug Type:     Other web server
Bug description:  file upload to the thttpd (with php patch) fails

Description:
------------
I have thttpd 2.1b patched with php-5.3.0. Try to upload file using POST 
request to this web server. Small files ( max of 600 bytes or so ) can 
be transferred, but big files, for which POST request will span multiple 
packets fails.

Reproduce code:
---------------
.php web page that reproduces this bug is: (upload.php) 
<form enctype="multipart/form-data" action="uploader.php" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
Choose a file to upload: <input name="uploadedfile" type="file" /><br />
<input type="submit" value="Upload File" />
</form>

Expected result:
----------------
It should be able to upload file of any size successfully.


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

Reply via email to