note 51048 deleted from function.copy by nlopess

From: Date: Fri, 18 Mar 2005 19:58:46 +0000
Subject: note 51048 deleted from function.copy by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-86651@lists.php.net to get a copy of this message
Note Submitter: ron dot harvey at blueyonder dot co dot uk Reason: useless ---- What the hell is "success" or "failure"? I relied upon a copy function to return an error in order to conditionally prevent consequent deletions of files supposedly copied but it let me down badly, with lots of data lost, and now by trial and error I am having to work out exactly what the logic of it is because the manual is inadequate. Strangely, it seems to be possible for the copy funtion to return a success without a file actually being created.

« previous php.notes (#86651) next »