cURL / Mailing Lists / curl-library / Single Mail


i cant get this url works

From: Manolet Gmail <>
Date: Fri, 9 Oct 2009 16:38:59 -0500

im trying to get this url with curl and php:

that is loaded as an iframe on this page (is the main frame, where the
movies shows up):

if you load it directly on the browser dont works, but when is loaded on the
main page always works fine.

i try to emulate all the headers params with this:

$url = "
$ch = curl_init ();
curl_setopt ( $ch, CURLOPT_URL, $url );
curl_setopt ( $ch, CURLOPT_HEADER, true );
curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt ( $ch, CURLOPT_FOLLOWLOCATION, true );
curl_setopt ( $ch, CURLOPT_CONNECTTIMEOUT, 15 );
curl_setopt ( $ch, CURLOPT_FRESH_CONNECT, 1 ); // don't use a cached version
of the url
curl_setopt($ch, CURLOPT_USERAGENT,"Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv: Gecko/20061204 Firefox/");
curl_setopt ($ch, CURLOPT_REFERER, "");
$result = curl_exec ( $ch );

Curl works, but happend the same that happend if you load the url directly,
the server dont response anything. i see a couple of cookies but is just for
google analytics, any ideas?

List admin:
Received on 2009-10-09