无法使用file_get_contents读取.php文件的输出

时间:2014-11-20 04:39:08

标签: php file-get-contents

我正在尝试使用

读取php文件的输出
$checkpass=file_get_contents("http://lcp.php"."?user=".$_POST['user']."&pass=".$_POST['pass']);

但它没有读,但是我可以使用这种方法完全读取文本文件。

var_dump的结果为string(0) ""

0 个答案:

没有答案