file_get_contents() how to fix error “Failed to open stream”, “No such file”

后端 未结 8 934
傲寒
傲寒 2020-12-01 17:35

I\'m getting the following error when I try to run my PHP script:

failed to open stream: No such file or directory in C:\\wamp\\www\\LOF\\Data.php on

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-01 18:40

    I hope below solution will work for you all as I was having the same problem with my websites...

    For : $json = json_decode(file_get_contents('http://...'));

    Replace with below query

    $Details= unserialize(file_get_contents('http://......'));

提交回复
热议问题