- file_get_contents: documentation ( source)
- readfile: documentation ( source)
- stream_get_contents: documentation ( source)
- fopen: documentation ( source)
<?php
echo readfile("http://www.xhaus.com/headers"); //needs "Allow_url_include" enabled
//OR
echo include("http://www.xhaus.com/headers"); //needs "Allow_url_include" enabled
//OR
echo file_get_contents("http://www.xhaus.com/headers");
//OR
echo stream_get_contents(fopen('http://www.xhaus.com/headers', "rb")); //you may use "r" instead of "rb" //needs "Allow_url_fopen" enabled
?>