[PHP] Remember username and password

2004-06-01 Thread Phpu
Hi, How can i make a registration form that will remember my username and password every time i login from the same computer? I think i should set a cookie but i don't know how. Thanks

Re: [PHP] Remember username and password

2004-06-01 Thread Miguel J. Jiménez
Yes, you must use a cookie with function setcookie() before any header is sent... Phpu wrote: Hi, How can i make a registration form that will remember my username and password every time i login from the same computer? I think i should set a cookie but i don't know how. Thanks --- avast!

Re: [PHP] Remember username and password

2004-06-01 Thread John W. Holmes
From: Phpu [EMAIL PROTECTED] How can i make a registration form that will remember my username and password every time i login from the same computer? I think i should set a cookie but i don't know how. http://us2.php.net/setcookie Don't put the username and password in the cookie. You need