Opening the file tutorialsroot.txt .....";
$myfile = fopen("tutorialsroot.txt", "r");
if($myfile == false)
{
echo "Error occurred...exiting...";
exit();
}
echo "File opened successfully.
";
echo "Closing the file....
";
fclose($myfile);
echo "File closed successfully.
"
?>