curl_init() has been disabled for security reasons

后端 未结 4 452
既然无缘
既然无缘 2021-01-14 10:28
$url= \"http://api.stackoverflow.com/1.1/search?tagged=php\";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRAN         


        
4条回答
  •  情话喂你
    2021-01-14 11:02

    If you are on xampp look below

    How to enable curl in xampp?

    you should only need to change this php

    C:\Program Files\xampp\php\php.ini

提交回复
热议问题