rtown Posted January 22, 2003 Share Posted January 22, 2003 I am hoping that someone may be able to help me out finding a nice \"simple\" login script using PHP and MySQL, just a simple check database, prompt for first time logins etc. If you know of any good links or scripts I am desperate, this is a minor side part of my project and not much time to focus on it. Here\'s hopin Quote Link to comment Share on other sites More sharing options...
ToniVR Posted January 23, 2003 Share Posted January 23, 2003 Database: - tabel \'users\' - field \'username\' - field \'password\' Make a form where the users must provide their info. Check for existence in the db, if so, set the username in $_SESSION[\"username\"] and do a session_start(); The session_start() should occure on each page at the top. If not occuring in the db, you might ask for more info, or a retype of the password. Nothing much to do ;-) If you need sample-code, just ask. Grtz, Toni. Quote Link to comment Share on other sites More sharing options...
AndrewBacca Posted January 30, 2003 Share Posted January 30, 2003 yes please ive got so far the user can login on one page but not others and ive spent most of 2day tring to work out sessions so some sample code would be great Andrew :mrgreen: Quote Link to comment Share on other sites More sharing options...
benW Posted February 2, 2003 Share Posted February 2, 2003 Here you go! http://forums.phpfreaks.com/viewtopic.php?p=6429#6429 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.