March 6, 200917 yr Hey guys and gals, just wondering how I would go about creating the typical username and password boxes/fields on a website. I want to create a site that people can register to but am stuck at the first hurdle Any info or links to tutorials would be much appreciated!! Choco_Dumplin
March 6, 200917 yr Hi, there are a few here: Membership scripts. Just be sure to read about securing your php applications (assuming your going to be using php and mysql). Securing php apps
March 6, 200917 yr Author Hi, there are a few here: Membership scripts. Just be sure to read about securing your php applications (assuming your going to be using php and mysql). Securing php apps Thanks John! You're a legend Choco_Dumplin
March 6, 200917 yr <form> <input type="text" name="username" /> <input type="password" name="password" /> <input type="submit" value="Login" /> </form>
March 6, 200917 yr Author <form> <input type="text" name="username" /> <input type="password" name="password" /> <input type="submit" value="Login" /> </form> Cool! I've input this code into my html document and it looks fine! But would I have to do loads of PHP stuff (i.e. as in the links above from John) in order to make it actually work and be secure? Thanks for the code, it at least helps me see how I want it to look!!
March 6, 200917 yr Cool! I've input this code into my html document and it looks fine! But would I have to do loads of PHP stuff (i.e. as in the links above from John) in order to make it actually work and be secure? Thanks for the code, it at least helps me see how I want it to look!! Yes, all the form elements are generated with html, you can make them look anyway you want without them working. you then need to use the php to make them functon and yes make them work.
March 6, 200917 yr Author Yes, all the form elements are generated with html, you can make them look anyway you want without them working. you then need to use the php to make them functon and yes make them work. Awesome, thanks again dude. Choco_Dumplin
March 6, 200917 yr You would need to post the information inputted to the text boxes to a php page that would verify the details against what you have in a database and return a result (in a nut shell) there is a long way to go to understand how it all works first tho. i would sagest playing with a php script and an mysql db to input and output information onto a webpage. When you have learned how to do this you will learn how to use this for other reasons. Then you should look into securing against SQL injections. look at www.killerphp.com this is a really good site for beginners and has loads of free video tutorials. Dan
March 7, 200917 yr Author You would need to post the information inputted to the text boxes to a php page that would verify the details against what you have in a database and return a result (in a nut shell) there is a long way to go to understand how it all works first tho. i would sagest playing with a php script and an mysql db to input and output information onto a webpage. When you have learned how to do this you will learn how to use this for other reasons. Then you should look into securing against SQL injections. look at www.killerphp.com this is a really good site for beginners and has loads of free video tutorials. Dan Thanks Daniel! Tell me about it! This does look like a pretty intense learning curve. But I won't run before I can walk, I'll take a look at all the info you guys have given me. Thanks alot for the help, this forum is awesome! Choco_Dumplin
Create an account or sign in to comment