why i am not getting the page 'http://www.gmail.com'
[PHP]<?php
// create a new curl resource
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch , CURLOPT_URL, "http://www.gmail.com/");
curl_setopt($ch , CURLOPT_FOLLOWL OCATION, true);
curl_setopt($ch , CURLOPT_HEADER, 1);
// grab URL, and print
curl_exec($ch);
?>[/PHP]
But it is working quiet good with 'http://www.google.com'
[PHP]<?php
// create a new curl resource
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch , CURLOPT_URL, "http://www.gmail.com/");
curl_setopt($ch , CURLOPT_FOLLOWL OCATION, true);
curl_setopt($ch , CURLOPT_HEADER, 1);
// grab URL, and print
curl_exec($ch);
?>[/PHP]
But it is working quiet good with 'http://www.google.com'
Comment