I performed a:
setCookie($username, $username, time()+3600,"", "", "0");
echo header("Location: projects.php");

... on a php page that deals with a form submission.  However, when I get to
projects.php, it claims $username doesn't exist.  The book said that to get
a variable from a cookie, all I need to do is call a variable name that is
the same name as what I named the cookie.

Any suggestions?



** Scanned for Viruses **

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to