目标页面
http://www.atgames.jp/atgames/getClothesInfo.do?top=10376572
希望得到的响应是
<accessory category='top' id='10376572' part='uparm2' /><accessory category='top' id='10376572' part='arm2' /><accessory category='top' id='10376572' part='body1' /><accessory category='top' id='10376572' part='uparm1' /><accessory category='top' id='10376572' part='arm1' />在浏览器中直接输入地址是ok的,firebug中可以看到响应,但是通过php的
$response=file_get_contents("http://www.atgames.jp/atgames/getClothesInfo.do?top=10376572");
echo $response;
却无法得到响应,
请各位大侠指点一下,感激不尽m(_ _)m