Forum Moderators: coopster
You can run it from the command line, this would work-
curl -o savedfile.whatever [pageyouwant.com<...]type in curl -help for the full range of options.
<?
$pathtocurl = "/usr/local/bin/curl";
exec("$pathtocurl -o saved.html [othersite.com...]
?>
When using it in exec(); (which is more or less teh command line) it won't return anything if you have the wrong path to curl or the server couldnt be reached.