note 67989 deleted from function.copy by aidan

From: Date: Wed, 15 Apr 2009 12:30:21 +0000
Subject: note 67989 deleted from function.copy by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-153296@lists.php.net to get a copy of this message
Note Submitter: emielm at hotmail dot com ---- 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.

« previous php.notes (#153296) next »