\n";
}else{
$fcontents = file ($string);
while( list($line_num ,$line)=each($fcontents)) {
print $line;
}
fclose($fp);
}
}
function putcomment($string){
$fp = fopen($string ,"r");
if( !$fp ) {
echo "(現在、コメントはありません)
\n";
}else{
$fcontents = file ($string);
while( list($line_num ,$line)=each($fcontents)) {
echo htmlspecialchars ($line), "
\n";
}
fclose($fp);
}
}
?>
|
|