#20696 [Opn->Bgs]: Large File Upload problem $HTTP_POST_FILES["file_attachment"]["size"]
| From: | jan@php.net | Date: | Thu, 28 Nov 2002 12:26:57 +0000 |
| Subject: | #20696 [Opn->Bgs]: Large File Upload problem $HTTP_POST_FILES["file_attachment"]["size"] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26073@lists.php.net to get a copy of this message | ||
ID: 20696
Updated by: jan@php.net
Reported By: jason@hodfords.com
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: Linux Red Hat 7.3
PHP Version: 4.2.3
New Comment:
bogus then
Previous Comments:
------------------------------------------------------------------------
[2002-11-28 06:17:13] jason@hodfords.com
I've isolated the whole situation and I couldn't replicate the problem.
However, I've found that it's because the filesize is stored to the
mysql database and the field is mediumint(9), and when I increased it
to BigInt(12), it started working....This is perhaps weird of
Mysql....
Sorry to have bothered you. We've got the problem isolated.
thanks for your time, I hope that we may be able to contribute
something to PHP development one day.
thanks,
Jason.
------------------------------------------------------------------------
[2002-11-28 05:50:17] sniper@php.net
Please try the snapshot..I can not reproduce this.
------------------------------------------------------------------------
[2002-11-28 05:35:33] jason@hodfords.com
We will do a phpinfo(); on the very receiving script.
But a phpinfo(); does show the new values of max_post_size, etc.
Secondly, before the increased these values in php.ini, the script
would not work and it would generate a file of 0 bytes.
Thanks,
Jason.
------------------------------------------------------------------------
[2002-11-28 05:28:10] sniper@php.net
And are you sure that php.ini is really used by PHP?
(check those values from phpinfo() output)
------------------------------------------------------------------------
[2002-11-28 05:27:34] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20696
--
Edit this bug report at http://bugs.php.net/?id=20696&edit=1