Hi, all
i must say that i'm new in using sessions and i though i understood the
meaning work of them..
but i have such script that don't do properly what i want.
Its really a simple store of a variable counter...
i firstly use:
session_start() ;
$f=fopen("count ","rb");
$count = fread($f,5000);
fclose($f);
if(session_is_r egistered($coun t)){
$count = $count + 1;
}
session_registe r("count");
but it never jump the if...meaning that is always registered...
some help?
thank you
i must say that i'm new in using sessions and i though i understood the
meaning work of them..
but i have such script that don't do properly what i want.
Its really a simple store of a variable counter...
i firstly use:
session_start() ;
$f=fopen("count ","rb");
$count = fread($f,5000);
fclose($f);
if(session_is_r egistered($coun t)){
$count = $count + 1;
}
session_registe r("count");
but it never jump the if...meaning that is always registered...
some help?
thank you
Comment