I am trying to upload image file from my one server to another remote server (owned by me). but its giving me error
Warning: move_uploaded_file(http://www.mysite.org/photo/color-sample-colorize12-10-2010-09-14-09.jpg)
[function.move-uploaded-file]: failed to open stream: HTTP wrapper does not support writeable connections.
Thanks for any suggestion or help in advance
You cant do that…. You need the sites to be on the same physical server and have the directory youre moving to have the proper permissions and be mapped in to both sites.
You could however use ftp or cURL functions to actually upload the file to the remote server, just not
move_uploaded_file.