note 43372 added to features.file-upload
| From: | olijon at rn2 dot php dot net | Date: | Sat, 19 Jun 2004 00:24:21 +0000 |
| Subject: | note 43372 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71309@lists.php.net to get a copy of this message | ||
When uploading large images, I got a "Document contains no data" error when using Netscape
and an error page when using Explorer. My server setup is RH Linux 9, Apache 2 and PHP 4.3.
I found out that the following entry in the httpd.conf file was missing:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288 (max size in bytes)
</Files>
When this had been added, everything worked smoothly.
- Oli Jon, Iceland
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43372
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43372&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43372&report=yes
Search -- http://master.php.net/manage/user-notes.php