in need of a secure login script to include in my site
Posted: Sun May 21, 2006 10:00 am
I have been searching for months now and getting nowhere fast!!
I am at breaking point
All i need is a way that people can login to my site, and while browsing the site knows if you are logged in or not and if you are not because you visit a history link or something like it you are asked to login to view the pages.
has anyone got a script that i can use where i use the include() function this is the easiest way for me to learn the right way to use login sessions, i also want to use the cookies on users pc version but i do not want to store the email or user name, it need to be a md5 code like the time so that after the time expires that have to login again. i have heard that having the email and username in the cookie is not such a good idea.
thank you to anyone hwho can help in any way.
I am at breaking point
All i need is a way that people can login to my site, and while browsing the site knows if you are logged in or not and if you are not because you visit a history link or something like it you are asked to login to view the pages.
has anyone got a script that i can use where i use the include() function this is the easiest way for me to learn the right way to use login sessions, i also want to use the cookies on users pc version but i do not want to store the email or user name, it need to be a md5 code like the time so that after the time expires that have to login again. i have heard that having the email and username in the cookie is not such a good idea.
thank you to anyone hwho can help in any way.