Posted by Sa on 05/10/05 00:51
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_registered($count)){
$count = $count + 1;
}
session_register("count");
but it never jump the if...meaning that is always registered...
some help?
thank you
Navigation:
[Reply to this message]
|