如果file_get_contents可以获取,那就获取后用正则取出你想要的,如果file_get_contents不行,那可以用socket获取页面内容。好像还有办法,但是最后都是用正则来获取想要的。