Hi all, im having problems with some script, just tryin to get the fundementals of cookies working, been on it all night and no joy. if i can get this to work, then i can move onto more complicated things
setcookie.php:
<?php
setcookie("username","will is a god at PHP");
header('Location: printcookie.php');
?>
printcookie.php:
<?php
$username = $HTTP_POST_COOKIE['username'];
echo ($username);
?>
nothing prints out on the printcookie.php page, any ideas?