php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11115 copy() returns "false" even if file was successfully copied
Submitted: 2001-05-25 11:28 UTC Modified: 2001-12-14 15:03 UTC
From: hysteric at skynet dot be Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.4pl1 OS: win NT 4
Private report: No CVE-ID: None
 [2001-05-25 11:28 UTC] hysteric at skynet dot be
if (!copy($uploadedFile,$newFile));
	{
	echo("Error copying file");
	}
will echo even if file is copied

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-26 15:42 UTC] derick@php.net
Can you try php 4.0.5 and see if it is fixed?

Derick
 [2001-05-29 03:15 UTC] hysteric at skynet dot be
php 4.0.5 does not fix it.

Michel
 [2001-12-14 15:03 UTC] sander@php.net
Works fine for me on Windows 2000 using 4.1.0
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Dec 02 21:04:48 2022 UTC