configuring wampserver after installation to enable ssl

后端 未结 2 1707
长发绾君心
长发绾君心 2021-01-11 18:01

I installed wampserver with Apache v2.2.17 and PHP v5.3.5. When I use the function file_get_contents() with the HTTPS URL as a parameter, I get the following wa

2条回答
  •  逝去的感伤
    2021-01-11 18:29

    And check one more thing:

    It may give an error if the file is not found as well. So use this one:

    $f=@file_get_contents(path);
    
    if($f){
        // your code here...
    }
    

提交回复
热议问题