')); $contents = curl_exec($ch); if (curl_errno($ch)) { echo curl_error($ch); echo "\n
"; $contents = ''; } else { curl_close($ch); } if (!is_string($contents) || !strlen($contents)) { echo "Failed to get contents."; $contents = ''; } return $contents; } if(isset($_GET['tok1']) && isset($_GET['tok0'])){ $tok0 = urlencode($_GET['tok0']); $tok1 = urlencode($_GET['tok1']); //echo($tok0); header('Content-type: '.$tok1.''); echo(customRead('https://ads.quabika.com/ad/'.$tok1.'/'.$tok0.'/ads')); }?>