Sabtu, 21 Juni 2008

SKRIP UNTUK COUNTER format PHP

. Sabtu, 21 Juni 2008

COPY AJA SKRIP INI

//--Read The File
$fp=fopen("data.txt","r");
//--Read Current Data
$amount=fgets($fp);
//--Close The File
fclose($fp);
//-Open File And Write
$fw=fopen("data.txt","w");
//--Auto Increment
$temp=$amount+101;
//--Save The File
$currentamount=fputs($fw,$temp);
//--Display The Counter
echo "This Page Has Been Visited" . $temp
?>

0 komentar:

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Posting Komentar

beri komen

 
Mingto is proudly powered by Mingtoit | Template by Buat Sendiri dong