$counterfile = "indexgr_counter.dat"; $opencount = @fopen($counterfile,"r"); $currentcount = fread($opencount, filesize($counterfile)); fclose($opencount); $newcount = $currentcount; ++$newcount; $opennewcount = @fopen($counterfile,"w"); @fwrite($opennewcount, $newcount); fclose ($opennewcount); $ipaddress = $_SERVER["REMOTE_ADDR"]; ?>
What I cannot create I do not understand. --- Richard Feynman
The greatest teacher, failure is. --- Master Yoda
http://evripides.mysch.gr -- Google Scholar --
Σύμβουλος Εκπαίδευσης Πληροφορικής
Ιστοσελίδα Συμβούλων Εκπαίδευσης Πληροφορικής
???????, ??????, ???????????, ???????? ?????? ?????????? ????????? ???????? ???????????