note 46761 deleted from function.fread by betz
| From: | betz@php.net | Date: | Fri, 22 Oct 2004 12:02:33 +0000 |
| Subject: | note 46761 deleted from function.fread by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78941@lists.php.net to get a copy of this message | ||
Note Submitter: gopas at mada d0t lt
----
I spent whole day trying to copy JPG file from remote server.
Don't forget, that if you want to copy binary file, you must open source file with
fopen("http://10.1.1.4/filename.jpg",
"rb");
(be sure you add "b" mode)
and be sure to open destination file with
fopen("filename_dest.jpg","w+b")
(be sure you add "b" mode).
I hope it will help someone...
anyway, don't be angry on me... I'm newbie:)
----
Reason: useless note