Bug #14680 Updated: Upload Files with problem
| From: | sander@php.net | Date: | Mon, 24 Dec 2001 13:20:23 +0000 |
| Subject: | Bug #14680 Updated: Upload Files with problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74912@lists.php.net to get a copy of this message | ||
ID: 14680
Updated by: sander
Reported By: griffey@mail.hmjh.tyc.edu.tw
Old Status: Open
Status: Feedback
Bug Type: Filesystem function related
Operating System: Red Hat 7.0
PHP Version: 4.0.6
New Comment:
Likely to be a problem with the browser. Which browser do you use?
Previous Comments:
------------------------------------------------------------------------
[2001-12-24 00:51:46] griffey@mail.hmjh.tyc.edu.tw
I use Red Hat 7.0+PHP 4.06 to write a web page to let the users can upload files to the server.
The files are successfully uploaded to the server,but the files are added words "Content-Type:
application/octet-stream" in the head of the files.The words make the files such as MS-word ,
MS-excel to be coded badly.How can I solve it ?
copy($filename,"/var/www/html/data/upload/board/$targetfile");
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14680&edit=1