note 64876 deleted from function.copy by bjori

From: Date: Sat, 22 Apr 2006 15:04:07 +0000
Subject: note 64876 deleted from function.copy by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-109020@lists.php.net to get a copy of this message
Note Submitter: professortomas at yahoo dot com dot br Reason: useless ---- Well, I was trying to copy some remote files from a web address (http://www.______.com/example.jpg), but the file address was in a TXT file. I opened the TXT file, and read it line by line, but when I used the copy comand it returns the error "PHP has encountered an Access Violation at ......". After researching a little, I noticed that the address had the "\n" after it. So, if you had this problem, use the TRIM command in the address to remove the "\n". Just my 2 cents.

« previous php.notes (#109020) next »