Menampilkan isi file .dat dengan php
Februari 20, 2008 at 6:24 am Tinggalkan komentar
<?php
Echo “Menampilkan isi File daptar.dat
“;
//untuk menampilkan file
if($file=fopen(“daptar.dat”,”r”))
{
while(!feof($file))
{
$string=fgets($file,255);
echo($string);
}
fclose($file);
}
else
{
echo”File gagal dibuka”;
}
include(“tanggal.php”);
echo”
“;
include(“getdate.php”);
?>
Entry filed under: Sekolah. Tags: .
Trackback this post | Subscribe to the comments via RSS Feed