Posted by friglob on 10/26/06 17:35
i would need help with creating some cURL code...
$old_file = "http://my_host.com/images/test.jpg";
$new_destination = "http://some_other_host.com/archived_images";
i was trying to create a cURL code that would copy the $old_file to a $new_destination but did not have much success...
basicaly i need to copy the file to the new server and if succedded, delete the original on old server
can somebody give me a hint with this?
Navigation:
[Reply to this message]
|