Heim >Backend-Entwicklung >PHP-Tutorial >PHP能不能实现按原来的各式读取某个文件的内容?该怎么处理
PHP能不能实现按原来的各式读取某个文件的内容?
代码如下:
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$current = file_get_contents("http://xxxxx/xxxxx/get_people_count.php");
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><?php error_reporting(E_ALL^E_NOTICE); date_default_timezone_set("PRC"); require_once("FlowfairyDB.php"); $flowcon=new FlowfairyDB(); echo $flowcon->GetCount();?>