if(file_exists("visiteurs.txt")) { print ""; } else { $fp=fopen("visiteurs.txt","a"); fputs($fp,"0"); fclose($fp); } ?> if (isset($cool_cookie) && $cool_cookie =="Deja_visite"){ $fichier="visiteurs.txt"; $fp=fopen("$fichier","r+"); $hits=fgets($fp,10); } else { // cookie absent (premiere visite, ou bien cookie expiré setcookie("cool_cookie","Deja_visite"); $fichier="visiteurs.txt"; $fp=fopen("$fichier","r+"); $hits=fgets($fp,10); $hits++; fseek($fp,0); fputs($fp,$hits); fclose($fp); $count++; } function visite($hits){ return "Vous êtes le ".$hits." éme visiteur"; } ?>
Centre de Yoga de l'Aube
- Yoga Centre Aube - Swam Editions - Association Gyana Bihar School of Yoga - Bihar Yoga Bharati |
|||||||
|
|||||||
www.yogasatyananda-france.net |
|||||||
|
|
echo visite($hits); ?> | To reach the English pages |
|||||