advanced code snippet search
mukeshdak on 07/25/11
file text read mukeshdak
Use this code to read a text file in PHP
// Using the code below a text file can be read in PHP $myFile = "config/navigation.txt";$fh = fopen($myFile, 'r');$theData = fread($fh, filesize($myFile));fclose($fh);echo $theData;
Report this snippet
You need to login to post a comment.