contactskn 2 Report post Posted April 15, 2009 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
Pankyy 0 Report post Posted April 15, 2009 I don't understand,... is there a problem with the login code or you want to make something for the users once they login? Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted April 15, 2009 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
asdftheking 1 Report post Posted April 15, 2009 Here is a login script you can download as a .zip:http://www.roscripts.com/PHP_login_script-143.htmlIt'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