How to get site content when CloudFlare protection is installed on it?
Code stopped working:
$url = 'https://xxx.com/'.$pag.'/'; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_HEADER, false); $data = curl_exec($curl); curl_close($curl);
Content-type: application/x-7z-compressed- Bogdan Gudyma