Hello everyone,
I am having a brain fart or something, why won't this work?
test.php:
<?php
session_start() ;
$_SESSION['username']='test';
header("Locatio n: test2.php");
exit();
?>
and test2.php:
<?php
session_start() ;
echo $_SESSION['username'];
?>
Any hint appreciated.
I am having a brain fart or something, why won't this work?
test.php:
<?php
session_start() ;
$_SESSION['username']='test';
header("Locatio n: test2.php");
exit();
?>
and test2.php:
<?php
session_start() ;
echo $_SESSION['username'];
?>
Any hint appreciated.
Comment