echo fread($myfile,filesize("webdictionary.txt"));

PHP
<?php
    $myfile = fopen ("webdictionary.txt" , "r") or die ("Unable to open file!");
    echo fread ("$myfile", filesize ("webdictionary.txt"));
    fclose ($myfile);
Source

Also in PHP: