<?php $ch = curl_init('http://mojastrona.pl/www/get.php'); 'Host: www.mojastrona.pl', 'User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7', 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language: pl,en-us;q=0.7,en;q=0.3', 'Accept-Encoding: gzip,deflate', 'Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7', 'Keep-Alive: 300', 'Connection: keep-alive', 'Referer: <a href=\"http://www.mojastrona.pl/'\" target=\"_blank\">http://www.mojastrona.pl/'</a>, 'Cookie: PHPSESSID=b38e97fe38f0a30f9a68311331ffbe3b', ); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers ); curl_setopt($ch, CURLOPT_REFERER, ' <a href=\"http://www.mojastrona.pl/');\" target=\"_blank\">http://www.mojastrona.pl/');</a> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $html = curl_exec($ch); ?>
Z MojaStronaX.pl chce pobrać pewne dane z MojaStrona.pl - gdzie jest sprawdzane Referer - lecz MojaStrona.pl - nie wykrywa go. Ma ktoś jakies pomysły?

Jeśli wyśle przez Live HTTP Headers takie headery to jest ok ale przez curla nie :<