Page 1 of 1
Save file to own server
Posted: Wed Feb 08, 2006 5:03 pm
by jaymoore_299
If I have the address of some image at someone else's domain like
http://www.domain.com/image.jpg
how do I grab that file and save it to a directory on my own domain without having to download it to my harddrive then uploading it with forms?
Posted: Wed Feb 08, 2006 6:10 pm
by josh
Posted: Wed Feb 08, 2006 6:25 pm
by jaymoore_299
I figured it out. Copy is so much easier.
Posted: Wed Feb 08, 2006 6:44 pm
by raghavan20
do fwrite and other file writing functions are good enough to read image files???
Posted: Wed Feb 08, 2006 10:26 pm
by feyd
why would a function that writes read anything?
Posted: Thu Feb 09, 2006 4:31 am
by raghavan20
feyd wrote:why would a function that writes read anything?
I was not really talking about fwrite...I was referring to the set of file functions (fread, fwrite,...) and I just want to confirm are they good enough to read images...
Posted: Thu Feb 09, 2006 9:32 am
by feyd
they are binary safe, if that's what you're asking..
