tchague Posted September 20, 2011 Share Posted September 20, 2011 Hi all, I've got a website for an event, each team have their details on a page which are recalled from a SQl database. But I'm wanting to create a password input box for each team, so when they enter the correct password they are taken to a page containing forms where they can edit the team details. Here is the page with the users details on where they anter the password: http://www.wharncliffenetwork.co.uk/wrc/entered/team.php?id=8 I'm not sure how to code it, Can an IF statement be used? Anyone got any pointers? I'f been unsuccessful in finding a tutorial or something similar. Hope that makes sense :S Cheers. Quote Link to comment https://forums.phpfreaks.com/topic/247541-website-user-log-on-check-password-stored-on-sql-database/ Share on other sites More sharing options...
trq Posted September 20, 2011 Share Posted September 20, 2011 There has to be thousands of tutorials around that cover this subject. Have you got any code? Where exactly are you stuck? Quote Link to comment https://forums.phpfreaks.com/topic/247541-website-user-log-on-check-password-stored-on-sql-database/#findComment-1271187 Share on other sites More sharing options...
xyph Posted September 20, 2011 Share Posted September 20, 2011 Everything there is to know about storing and using a user(team)/password set up can be found in the link in my signature. It's a long article, but it's a complex process if you want to do it _right_ Examples are included as well. Quote Link to comment https://forums.phpfreaks.com/topic/247541-website-user-log-on-check-password-stored-on-sql-database/#findComment-1271192 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.