Bug #14680 Updated: Upload Files with problem
ID: 14680
Updated by: lobbin
Reported By: griffey@mail.hmjh.tyc.edu.tw
Old Status: Feedback
Status: Closed
Bug Type: Filesystem function related
Operating System: Red Hat 7.0
PHP Version: 4.0.6
New Comment:
No feedback, closing.
Previous Comments:
------------------------------------------------------------------------
[2001-12-24 08:20:23] sander@php.net
Likely to be a problem with the browser. Which browser do you use?
------------------------------------------------------------------------
[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
Thread (3 messages)