session_start();
$filename = "counter2.txt";
@$fptr = fopen($filename, "r+");
if(strcmp($_SESSION["id"],session_id()))
{
if ($fptr == NULL) {
@$fptr = fopen($filename, "w+");
fwrite($fptr, "2500");
fclose($fptr);
$msg ="2500 ";
}
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"];
}
?>
Dolly Jain Saree Draper
Saree is ethnic Indian attire but its beauty is embellished by the way it is draped. Saree draper is a person who unfurls the yards of clothes into myriad new age fashion trends.