$session_time = $current_time - $_SESSION('timestamp');
echo session time = $session_time seconds.br;
The output to the browser (Safari) is as follows:
inside check IF
Time = 1072308706.
Fatal error: Call to undefined function: array() in
I should first admit to being a php newbie, so the answer may
be obvious, but this looks like a
bug to me. Global variables are OFF. I start a session at the very
top of page member.php:
session_start();
In a function called from the same page, I store some variables in
the session array:
2 matches
Mail list logo