PHP file_get_contents() not working

后端 未结 6 1112
情书的邮戳
情书的邮戳 2020-12-18 09:03

Can anyone explain why the following code returns a warning:


I get a Warnin

6条回答
  •  轮回少年
    2020-12-18 09:12

    you can try using single quotes like this:

    file_get_contents('http://google.com');
    

提交回复
热议问题