<?php $imageUrl = 'http://tr1.php.net/images/logos/php-med-trans-dark.gif'; $fileName = 'image.jpg'; copy($imageUrl,$fileName); ?>