note 85600 added to function.copy

From: Date: Mon, 08 Sep 2008 12:38:21 +0000
Subject: note 85600 added to function.copy
Groups: php.notes 
Request: Send a blank email to php-notes+get-144237@lists.php.net to get a copy of this message
Hi all I use copy function to copy images from a remote. code as below <?php if(!@copy($url,$path_to_save)){ // copy file in to the local $errors= error_get_last(); echo "COPY ERROR: ".$errors['type']; echo "\n".$errors['message']; print ("Image Copy Faild!\n Please Try Again!"); } ?> When I execute the code I got an error [function.copy]: failed to open stream: no suitable wrapper could be found Why is that? I'm using PHP 5.2 ---- Server IP: 69.147.83.197 Probable Submitter: 192.248.8.100 ---- Manual Page -- http://www.php.net/manual/en/function.copy.php Edit -- https://master.php.net/note/edit/85600 Del: integrated -- https://master.php.net/note/delete/85600/integrated Del: useless -- https://master.php.net/note/delete/85600/useless Del: bad code -- https://master.php.net/note/delete/85600/bad+code Del: spam -- https://master.php.net/note/delete/85600/spam Del: non-english -- https://master.php.net/note/delete/85600/non-english Del: in docs -- https://master.php.net/note/delete/85600/in+docs Del: other reasons-- https://master.php.net/note/delete/85600 Reject -- https://master.php.net/note/reject/85600 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144237) next »