php读取并显示文本文件内容
<?php
$file='info.txt';
$fobj=fopen($file,"r");
$text=fread($fobj, filesize($file));
echo("<h2><font color='blue'>Displaying Content of a Text File</font><h2>");
echo("<br>");
echo("<font size=3>");
echo($text);
echo("</font>");
fclose($fobj);
?>
