note 72524 deleted from function.rename by bjori

From: Date: Tue, 23 Jan 2007 12:14:20 +0000
Subject: note 72524 deleted from function.rename by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-122063@lists.php.net to get a copy of this message
Note Submitter: sober at migtel dot ru Reason: bad code ---- //rename($f1,$f2) for windows, if $f2 exists function winRename($from,$to) { $output; $result; exec("move \"$from\" \"$to\"", $output, $result); return $result == 0; }

« previous php.notes (#122063) next »