用file_get_contents(),函数可以实现这个功能;函数说明和用例见链接:http://www.w3school.com.cn/php/func_filesystem_file_get_contents.asp