What is wrong with the following code?
curl_setopt($ch, CURLOPT_URL,
“http://www.example.com/”);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
?>
Correct Answer: The cURL resource $ch has not been created using the curl_init() method.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP MCQ Questions