Bug #3742: PHP upload + MySQL insert fails for anything more than 1 meg
| From: | ghost at homeloaf dot dynip dot com | Date: | Mon, 06 Mar 2000 16:00:47 +0000 |
| Subject: | Bug #3742: PHP upload + MySQL insert fails for anything more than 1 meg | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16451@lists.php.net to get a copy of this message | ||
From: ghost@homeloaf.dynip.com
Operating system: Linux (Debian 2.1, Kernel 2.2.14)
PHP version: 3.0.14
PHP Bug Type: MySQL related
Bug description: PHP upload + MySQL insert fails for anything more than 1 meg
PHP compiled in with Apache-SSL (1.3.11) with MySQL (3.22.32) enabled.
I've been trying to use a PHP upload script to upload a binary file to a MySQL database, and it
seems there is some arbitrary limit of 1 meg set that prohibits me from uploading the file. I have
tried using the php3_upload_max_filesize Apache directive as well as the in-form hidden field for
max file size, and nothing seems to work; besides, these values are set at 2 megs by default it
seems, so I don't see how those could be affecting things. I did try uploading a 5 meg file
and copying it over so that it stayed around after the script, and the entire file uploaded
correctly, so there seems to be something wrong with the MySQL insertion side of things.