Haloo salam kenal 

Ini Adalah Scrip Counter


LAngkah Pertama

Scrip ini di simpan 
counter.php

<?php
//this is our text file if you create a different
named file change the script below to reflect this
$counter_file = ("counter/counter.txt");
//now we open the file
$visits = file($counter_file);
//this increments the counter value by 1
$visits[0]++;
//now we will open the counter file for writing "w"
$fp = fopen($counter_file , "w");
//put the new count value into the counter file
fputs($fp , "$visits[0]");
//close the file
fclose($fp);
//display the count
echo "Anda adalah pengunjung ke $visits[0]";
?>

Langkah ke dua

Buat folder counter
buat file

counter.txt


Langkah ke tiga
Letakkan scrip ini pada halaman yang mau anda
tampilkan

Anda Pengunjung : <?php echo $FX_count ?>

Langkah ke empat

chmod 777 folder counter dan counter.php


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more. 
http://info.mail.yahoo.com/mail_250





-- 
www.ITCENTER.or.id - Komunitas Teknologi Informasi Indonesia 
Info, Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
::: Hapus bagian yang tidak perlu (footer, dst) saat reply! ::: 
## Forum: ITCENTER.or.id/forum ## Jobs: ITCENTER.or.id/jobs ## 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ITCENTER/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke