Cheap Bastard
New Member
I guess this is a double question...
PHP & Cookies:
i've done a search and i found this page:
http://www.spoono.com/tutorials/php/cookies/
it looks great, simple, and easy. But... It looks too simple. It just seems as if it's supposed to be harder. I mean, that can't be all... Or is it?
Also, how do you make sure a cookie remains even if the user closes the browser... (like the cookie for vBulletin), i don't want it to go away (like the cookie for phpBB).
MySQL & Passwords:
(with PHP)
I've heard something about a hash password or something...
What size does the field in MySQL have to be... Is a tinytext suitable for this purpose? What's the longest possible password to store? (needed to set the max for the password input box in the form for signup). Should this be stored in the cookie?
Also, what's the best way to keep 'authentication' between pages?
Thanks fella's (lotsa questions, huh)
PHP & Cookies:
i've done a search and i found this page:
http://www.spoono.com/tutorials/php/cookies/
it looks great, simple, and easy. But... It looks too simple. It just seems as if it's supposed to be harder. I mean, that can't be all... Or is it?
Also, how do you make sure a cookie remains even if the user closes the browser... (like the cookie for vBulletin), i don't want it to go away (like the cookie for phpBB).
MySQL & Passwords:
(with PHP)
I've heard something about a hash password or something...
What size does the field in MySQL have to be... Is a tinytext suitable for this purpose? What's the longest possible password to store? (needed to set the max for the password input box in the form for signup). Should this be stored in the cookie?
Also, what's the best way to keep 'authentication' between pages?
Thanks fella's (lotsa questions, huh)