Can someone tell me how to write php code to save an image from the
internet to the server? For example, if there was a picture at
http://somepage.com/hello.jpg I want to write a php script that would
take that picture and save it to my server so I could access it as
http://localhost/hello.jpg.
I need to do this in php because there are a lot of these pictures and
I want to save all of them at once.
Thanks for your help!
Timin
internet to the server? For example, if there was a picture at
http://somepage.com/hello.jpg I want to write a php script that would
take that picture and save it to my server so I could access it as
http://localhost/hello.jpg.
I need to do this in php because there are a lot of these pictures and
I want to save all of them at once.
Thanks for your help!
Timin
Comment