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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
33 - 18 = ?
Subscribe to this entry?

 
 [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-2023 The PHP Group
All rights reserved.
Last updated: Sat Jan 28 01:03:46 2023 UTC