Wednesday, May 16, 2012

PHP - Include Cross Domain File

<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.domain.com");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
?>

No comments:

Post a Comment