note 29992 deleted from function.copy by aidan

From: Date: Mon, 30 Aug 2004 07:04:10 +0000
Subject: note 29992 deleted from function.copy by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-75645@lists.php.net to get a copy of this message
Note Submitter: jay dot haslup at jhuapl dot edu ---- Im using windows2000 with apache and php4.3.0. I have noticed that copying a zero size file does actually work but PHP thinks it didn't. <?php if(copy("d:/dirsrc/file.txt", "d:/dirdest/file.txt")) { //The copy works but does not end up here... echo "Copy worked"; }else{ //...It ends up here echo "file.txt is in dirdest but ended up here"; } ?>

« previous php.notes (#75645) next »