note 52389 added to features.file-upload
| From: | Steven at osu1 dot php dot net | Date: | Fri, 29 Apr 2005 11:30:44 +0000 |
| Subject: | note 52389 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88744@lists.php.net to get a copy of this message | ||
Need to get around your PHP.ini file upload limit?
Use a bit of clever JavaScript to get the value of your <input type="file"> (the
location of the file on the client's machine), copy it to a hidden text box then try and upload
traditionally, if you get a PHP error UPLOAD_ERR_INI_SIZE, then use the value of your hidden text
box to initiate a PHP-FTP connection and upload to your heart's content.
No more limits :)
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52389
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52389&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52389&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52389&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52389&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52389&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52389&report=yes
Search -- http://master.php.net/manage/user-notes.php