Jump to content
xisto Community
contactskn

Hi Friends A Login Code Problem

Recommended Posts

Dear friends I have made a website of my own and basically trying to provide free matrimonial services. I have made a members registration page and the data is being transfered perfectly to the my sql database.?Now I would like to make a search page which should be opened by the members only that means a login facility should be their which being successful will be showing the data searched to the members.?In the registration form I am storing the values of the login and password by the field names as "usern" and "passw".?please help me out with serious working codes for the login and logout facilities in php. Thank you very much in advance.?

Share this post


Link to post
Share on other sites

Check in the TUTORIAL Section here on the Xisto. There are several Login/Logout scripts available.Be sure to find one using Sessions to allow you to keep track of their logged-in status from page to page. The Login data needs to be passed from page to page unless you want them to Login on each and every page. Each page needs to begin with the session_start function.Cookies should be considered, too. Cookies allow the Login to persist from session to session, but are less secure because the Cookie information is stored on the Client's computer and are more easily 'spoofed'. Critical security information should not be used in Cookies. For instance, Usernames and passwords (even encrypted) are not good information to store in cookies.Is that the sort of information you needed?

Share this post


Link to post
Share on other sites

Here is a login script you can download as a .zip:
http://www.roscripts.com/PHP_login_script-143.html
It's big, almost too big for me, but I will probably install and adapt it to the system I'm working on next week. It includes different levels of access, session cookies, temporary passwords, check for unique email address, etc. etc.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.