file_get_contents get contents in php specify content type code example
Example: php file_get_contents
<?php
$homepage = file_get_contents('http://www.example.com/');
echo $homepage;
?>
<?php
$homepage = file_get_contents('http://www.example.com/');
echo $homepage;
?>