Skip to content

Instantly share code, notes, and snippets.

@xaiborweb
xaiborweb / curl olimpo
Created March 9, 2018 01:59
curl olimpo
<?php
set_time_limit(0);
function curl($url,$referer,$metodopost,$cookies){
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_HTTPHEADER,
array(
'Accept-Language:es-ES,es;q=0.9,de;q=0.8,pt;q=0.7',
'Connection:keep-alive'
)
);