Once you have created your $handle you now need to fread() the contents.
$contents = ''; while (!feof($handle)) { $contents .= fread($handle, 8192); } fclose($handle); echo $contents;
source: php.net/manual/en/function.fread.php