$contents=file("http://www.baidu.com");返回的是一个数组
$contents=file_get_contents("http://www.baidu.com");返回一个字符串
readfile("http://www.baidu.com");直接打开网页.
2021-10-31 16:41:30
$contents=file("http://www.baidu.com");返回的是一个数组
$contents=file_get_contents("http://www.baidu.com");返回一个字符串
readfile("http://www.baidu.com");直接打开网页.