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;

Options: ReplyQuote
Re: CURL not working
Posted by: Otomatic (Moderator)
Date: February 26, 2022 10:12AM


Options: ReplyQuote


Sorry, only registered users may post in this forum.