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: .

Membuat fungsi tanggal dengan php Membangun WLAN dengan OS linux

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Tutorial


Ikuti

Get every new post delivered to your Inbox.