Reply to cURL - copy image file from one server to another

Your name:

Reply:


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?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация