hello everyone,
i'm trying following code to show data from text file to user....
$myFile = "testing.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
return $theData;
but it s showing error "no such file or directory" ... Is it the right way ?? or please tell me how to do it...