<?php

$ourFileName = "phpPracticeFile.txt";
$fh = fopen($ourFileName, 'r') or die("Can't open

file");
fclose($fh);

?>

why isn't this code working ?

is it something to do with CHMOD ? file permissions ?