Re: [PHP] Problem with session variables on Mac

2003-12-25 Thread Mike Migurski
$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

[PHP] Problem with session variables on Mac

2003-12-24 Thread Jim Sara Feldman
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: