- File get contents:
To display a contents in a remote url :
echo $file = file_get_contents(‘http://www.example.com/’);
- Php curl
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, “http://www.example.com/”);
curl_exec($ch);
curl_close($ch);
?>