首页 > Web开发 > 详细

PHP的file_get_content()方法,将整个文件读入字符串中

时间:2015-07-08 16:03:54      阅读:172      评论:0      收藏:0      [点我收藏+]
<?php
     $post_data = file_get_contents("e:\\1.txt"); 
     echo $post_data;
?>

更多信息看这里:http://www.w3school.com.cn/php/func_filesystem_file_get_contents.asp  

PHP的file_get_content()方法,将整个文件读入字符串中

原文:http://www.cnblogs.com/tommy-huang/p/4630358.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!