note 67989 added to function.copy

From: Date: Sat, 08 Jul 2006 19:49:23 +0000
Subject: note 67989 added to function.copy
Groups: php.notes 
Request: Send a blank email to php-notes+get-114601@lists.php.net to get a copy of this message
I have been puzzling for hours with the copy() function. I got a "no such file or directory" error message all the time (for the source file). In the end my mistake was that there were some spaces at the end of de source filename... So, if you get file not found errors and you are sure that the file does exists, use the trim() function to get rid of the spaces. ---- Server IP: 83.137.20.120 Probable Submitter: 82.161.57.167 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.copy.php Edit -- http://master.php.net/note/edit/67989 Del: integrated -- http://master.php.net/note/delete/67989/integrated Del: useless -- http://master.php.net/note/delete/67989/useless Del: bad code -- http://master.php.net/note/delete/67989/bad+code Del: spam -- http://master.php.net/note/delete/67989/spam Del: non-english -- http://master.php.net/note/delete/67989/non-english Del: in docs -- http://master.php.net/note/delete/67989/in+docs Del: other reasons-- http://master.php.net/note/delete/67989 Reject -- http://master.php.net/note/reject/67989 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#114601) next »