Forum Moderators: coopster
I dont have any problem setting the cookie before adding these lines to my htaccess file.
The form will be submitted to self [index.php], and after validating the inputs will set the cookie
setcookie("cookiename", $username, time()+86400, "/", ".example.com");
Then will display the same page [index.php] with a different sets of items
[edited by: Gian04 at 1:50 pm (utc) on Aug. 9, 2007]