原先都是好的,突然间就无法使用了。报错如下
(php2html)是生成静态页面的函数
A PHP Error was encounteredSeverity: WarningMessage: file_get_contents(http://localhost/ci_test073/index.php/printPage/tree) [function.file-get-contents]: failed to open stream: ������ӷ���һ��ʱ���û����ȷ�

解决方案 »

  1.   

    很明显,http://localhost/ci_test073/index.php/printPage/tree文件没打开。
    看看是否有操作权限、文件路径是否对应。
      

  2.   


    直接用浏览器打开“http://localhost/ci_test073/index.php/printPage/tree”是可以的。
    D盘已经设置了everyone权限,还是无法使用!
      

  3.   

    [Quote=引用 3 楼 dmtnewtons 的回复:]������ӷ���һ��ʱ���û����ȷ�
      

  4.   

    [Quote=引用 3 楼 dmtnewtons 的回复:]������ӷ���һ��ʱ���û����ȷ�
      

  5.   

    file_get_contents('http://localhost/ci_test073/index.php');这样呢? 你后面两个参数开启重写了吧。
      

  6.   

    用fopen试试:
    在 Windows 平台上,要小心转义文件路径中的每个反斜线,或者用斜线。
    <?php
    $handle = fopen("c:\\data\\info.txt", "r");
    ?>