CURL not working
Posted by:
kiwis
(---.dsl.dyn.ihug.co.nz)
Date: February 25, 2022 11:29PM
Using WAMPSERVER I get nothing with this code
When I check PHP extensions and PHPInfo curl is ticked and enabled?
Is there something else I need to do?
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, 'https://www.google.co.nz');
$response = curl_exec($curl);
echo $response;