php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1615 Can't copy uploaded file
Submitted: 1999-06-28 10:26 UTC Modified: 2000-04-16 18:03 UTC
From: francis at informaticien dot org Assigned:
Status: Closed Package: Other
PHP Version: 3.0.11 OS: WinNT SP4
Private report: No CVE-ID: None
 [1999-06-28 10:26 UTC] francis at informaticien dot org
After upload a file, I try to copy the file to a directory. It's work fine with PHP 3.0.6 but it's not working with PHP 3.0.10 and PHP 3.0.11 

source :

$file_path = "c:/inetpub/wwwroot/expressmag/admin/catalog/import/as400.csv";
if (copy($file, $file_path))
  unlink($file);


error :

Warning: Unable to open '\\php2' for reading: No such file or directory in C:\InetPub\wwwroot\expressmag\admin\catalog\import\import1.phtml on line 30

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-14 04:05 UTC] joey at cvs dot php dot net
Is this bug still there? Can you post import1.phtml, around ln 30?
 [2000-04-16 18:03 UTC] sas at cvs dot php dot net
Closed upon user's request
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC