jas
Pete M wrote:
need to issue a
session_start()
at top of page
Pete
Jas wrote:
Not sure why this is happening but I think it has something to do with an include statement...
[Server environment]
Apache/2.0.47 (Unix) DAV/2 PHP/4.3.3
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
Session Support enabled
[Script registering vars - sessions.php] /* Format Date & Time */ $hour = (date("H:i:s")); $day = (date("d")); $date = (date("F $day, Y")); /* Register vars */ $_SESSION['date'] = $date;
[Main script - index.php]
session_start()
require 'scripts/sessions.php';
echo $_SESSION['date']; //This is not showing up in browser?
Any help is appreciated... Jas
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php