<?php $ch = curl_init("http://google.com"); // KUDA curl_setopt($ch, CURLOPT_REFERER, "http://www.google.com"); // stavim referer curl_exec($ch); // zapuskaem seans curl_close($ch); //zakryvaem seans ?>
<?php $kuda = $GET['url']; $ch = curl_init($kuda); // KUDA curl_setopt($ch, CURLOPT_REFERER, "http://www.google.com"); // stavim referer curl_exec($ch); // zapuskaem seans curl_close($ch); //zakryvaem seans ?>