PHP File Open/Read/Close

PHP
$myfile= fopen("welcom.txt","w");
echo fwrite($myfile, filesize("welcom.txt"));
fclose($myfile);require_once "php2/include.php";
echo $varriable;<?php
    $myfile = fopen ("webdictionary.txt" , "r") or die ("Unable to open file!");
    echo fread ("$myfile", filesize ("webdictionary.txt"));
    fclose ($myfile);
Source

Also in PHP: