Forum Moderators: coopster
<?php
$inFile = "http://mydomain.com/image.jpg";
$outFile = "myImage.jpg";
copy($inFile,$outFile);
?>
but apparently, not with 4.1.2. allow_url_fopen is enabled in both cases. Does anybody know a quick and efficient way to copy a binary file in PHP 4.1.2?