note 57657 added to features.file-upload
| From: | thom_rek at hotmail dot com | Date: | Mon, 10 Oct 2005 14:20:58 +0000 |
| Subject: | note 57657 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-96785@lists.php.net to get a copy of this message | ||
Hi all,
i've noticed some bugs with my Php 4.3.3 script on an apache web server on linux red hat 9.0.
Some files (*.doc, *.xls, *.pdf, *.zip) are corrupted after the upload, but they do not when I copy
then using SAMBA.
The upload is correct with text file or csv file.
With fireFox et IE it's the same error.
the upload_tmp_dir and the folder where i moved the uploaded files are all with apache:apache
permissions.
Could the problem be relative to MIME types on the web server ?
I've noticed that the length of the uploaded file is grower than the file on the client side,
nearly twice...
I do not understand this problem....
Thanks for your future help...
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57657
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57657&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57657&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57657&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57657&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57657&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57657&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57657&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57657&report=yes
Search -- http://master.php.net/manage/user-notes.php