Use the following code:
<?php
echo file_get_contents("http://bit*ly/xxxxxx");
?>
Or try this code:
<?php
$url = "http://bit*ly/xxxxxx";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($ch);
curl_close($ch);
echo $data;
?>
solved How to get content from website [closed]