ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
#50078 [NEW]: file upload to the thttpd (with php patch) fails
by Nishantkumar05 At Gmail Dot Com other posts by this author
Nov 4 2009 7:28AM messages near this date
#50080 [Opn]: 1 bit short of an 8 byte integer | #50078 [Com]: [PATCH] file upload fails with thttpd
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
Thread:
Nishantkumar05 At Gmail Dot Com
Asure007 At Hotmail Dot Com
Nishantkumar05 At Gmail Dot Com

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved