Anything wrong with my cURL code (http status of 0)?

前端 未结 5 984
半阙折子戏
半阙折子戏 2020-12-30 12:11

Consistently getting a status of 0 even though if I copy and paste the url sent into my browser, I get a json object right back



        
5条回答
  •  死守一世寂寞
    2020-12-30 12:54

    I had the same problem, You MUST run the curl_exec($ch) command before you run the curl_getinfo($ch) command.

提交回复
热议问题