我已经将代码改成了这样
$file = fopen("http://www.51sohouse.com","rb");
while(!feof($file)){
$result = fread($file,8192);
}
好象能够多获取一些信息了,但是还是不能完全获取。
而我改用file_get_contents就可以全部获取信息,这是为什么呢
难道用fopen不可以吗