<?php
$contents =file_get_contents('http://www.baidu.com/img/baidu_sylogo1.gif');
file_put_contents('url.gif',$contents);
?>
转载于:https://www.cnblogs.com/secbook/archive/2012/01/04/2654906.html
转载于:https://www.cnblogs.com/secbook/archive/2012/01/04/2654906.html