note 62789 added to features.file-upload
| From: | chaz_meister_rock at yahoo dot com | Date: | Thu, 09 Mar 2006 18:09:53 +0000 |
| Subject: | note 62789 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-105155@lists.php.net to get a copy of this message | ||
As mentioned in this thread by mariodivece at bytedive dot com on 24-Aug-2005 12:33:
"when using base64_encode to store binary data in a database, you are increasing the size of
the data by 1.33 times."
so, if you are receiving the dreaded "MySQL Server has gone away" error when uploading
BLOB data encoded w/base64, remember that your MySQL "max_allowed_packet" configuration
setting (default 1MB) needs to by 1.33 times the size of your PHP "upload_max_filesize"
setting.
----
Server IP: 216.194.113.175
Probable Submitter: 66.88.132.194
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- http://master.php.net/note/edit/62789
Del: integrated -- http://master.php.net/note/delete/62789/integrated
Del: useless -- http://master.php.net/note/delete/62789/useless
Del: bad code -- http://master.php.net/note/delete/62789/bad+code
Del: spam -- http://master.php.net/note/delete/62789/spam
Del: non-english -- http://master.php.net/note/delete/62789/non-english
Del: in docs -- http://master.php.net/note/delete/62789/in+docs
Del: other reasons-- http://master.php.net/note/delete/62789
Reject -- http://master.php.net/note/reject/62789
Search -- http://master.php.net/manage/user-notes.php