cURL not working with POST data

前端 未结 3 1410
感情败类
感情败类 2021-01-27 20:50

I am trying to debug this, but I\'ve had no luck. Am I sending the POST data correctly?

if (isset($_POST[\'chrisBox\'])) {

$curl = curl_init();
curl_setopt($cur         


        
3条回答
  •  隐瞒了意图╮
    2021-01-27 21:14

    $ex = curl_exec($process);
    if ($ex === false)
    {
        // throw new Exception('Curl error: ' . @curl_error($process));
        // this will give you more info
        var_dump(curl_error($process));
    }
    

提交回复
热议问题