Sun Oct 26, 2008 9:17 pm
<?php
$myfile = "./test.txt";
$openfile = fopen ($myfile, "r") or die ("Couldn't open the file");
$file_size=filesize($myfile);
$file_content = fread ($openfile, $file_size);
fclose ($openfile);
echo $file_content;
?>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.