php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14680 Upload Files with problem
Submitted: 2001-12-24 00:51 UTC Modified: 2002-01-14 02:09 UTC
From: griffey at mail dot hmjh dot tyc dot edu dot tw Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.6 OS: Red Hat 7.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: griffey at mail dot hmjh dot tyc dot edu dot tw
New email:
PHP Version: OS:

 

 [2001-12-24 00:51 UTC] griffey at mail dot hmjh dot tyc dot edu dot 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");


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-24 08:20 UTC] sander@php.net
Likely to be a problem with the browser. Which browser do you use?
 [2002-01-14 02:09 UTC] lobbin@php.net
No feedback, closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 09 01:01:27 2024 UTC