<?php $ktos = $_GET['p']; $ch = curl_init("www.arena-albionu.pl/top_50.php?&komenda=doswiadczenie&p=$ktos"); if($ktos==''){ $ch = curl_init("www.arena-albionu.pl/top_50.php?&komenda=doswiadczenie&p=1"); } curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_GET, true); curl_setopt($ch, CURLOPT_NOBODY, true); curl_setopt($ch, CURLOPT_USERAGENT, "Googlebot/2.1 (+www.google.com/bot.html)"); curl_setopt($ch, CURLOPT_REFERER, "http://www.arena-albionu.pl"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); curl_close($ch); ?>
Nikt nie pomoże?
