最佳答案:1用file_get_contents 以get方式获取2用fopen打开url, 以get方式获取内容3用file_get_contents函数,以post方式4用fsockopen函数打开url,