0
我的捲髮不會在服務器端返回正文。我該如何糾正這一點?帖子正文沒有收到
curl_setopt($ch, CURLOPT_URL,$cpUrl);// "ex:www.lalala/aa/"
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $varpost); // has string parameter
curl_setopt($ch,CURLOPT_HTTPHEADER,array('VariableParams:'.$varpost));
info ("variables passed:",$varpost);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_NOBODY, false);
$output = curl_exec ($ch); // Execute