i i try this it works fine and shows me output.
Code: Select all
curl_setopt($ch, CURLOPT_URL, "http://www.google.com.pk");Code: Select all
header("Cache-control: private, no-cache");
header("Expires: 0");
header("Pragma: no-cache");
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_URL, "https://www.kulula.com/Default.aspx");
curl_setopt ($ch, CURLOPT_COOKIEJAR, "tmp.txt");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
echo curl_exec($ch);
curl_close($ch);Object moved to here.
any help.
thank you