Copying a remote graphic to my server.
| From: | scott | Date: | Sun, 29 Sep 2002 18:10:35 +0000 |
| Subject: | Copying a remote graphic to my server. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-118099@lists.php.net to get a copy of this message | ||
Hello there
I am trying to copy a remote graphic from http://blah.com/blah.jpg to my
server. How would I achieve this in php I have looked on the archives
but can't seem to find the best way. I am running 4.1.2 on apache unix.
I understand copy will not work on remote files (tried it) but I am not
sure of the correct fopen fwrite etc code! Any sample code or pointers
are most helpful Best regards Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php