Bug #1615: Can't copy uploaded file
| From: | francis at informaticien dot org | Date: | Mon, 28 Jun 1999 14:26:11 +0000 |
| Subject: | Bug #1615: Can't copy uploaded file | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7682@lists.php.net to get a copy of this message | ||
From: francis@informaticien.org
Operating system: WinNT SP4
PHP version: 3.0.11
PHP Bug Type: Other
Bug description: Can't copy uploaded file
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