I am working with PHP to access files and photos from remote servers.I am mostly using the file_get_contents() and copy() functions.