session_start(); $filename = "counter5.txt"; @$fptr = fopen($filename, "r+"); if(strcmp($_SESSION["id"],session_id())) { if ($fptr == NULL) { @$fptr = fopen($filename, "w+"); fwrite($fptr, "5000"); fclose($fptr); $msg ="5000 "; } else{ $data = fread($fptr, filesize($filename)); $dataInt = (int) $data; $dataInt++; rewind($fptr); fwrite($fptr, $dataInt); fclose($fptr); session_register("id"); $_SESSION["id"]=session_id(); session_register("visitors"); $_SESSION["visitors"]=$dataInt; $msg=$dataInt; } } else{ //$msg= "welcome back"; $msg= $_SESSION["visitors"]; } ?>
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Click here to view Kothari Times 2014 | Click here to view Kothari Times 2015 | ||||||||||||||||||||||||||||||||||||||||||||||||
Click here to view Kothari Times 2012 |
Click here to view Kothari Times 2013 | ||||||||||||||||||||||||||||||||||||||||||||||||
Click here to view Kothari Times 2010 |
Click here to view Kothari Times 2011 |
||||||||||||||||||||||||||||||||||||||||||||||||
Click here to view Kothari Times 2009 |
Click here to view Progress of land |
||||||||||||||||||||||||||||||||||||||||||||||||
|