November 29th, 2012, 05:10 PM
Admin panel without classes
I am still new to php and would like to know how to create an admin panel just by using PHP without classes?
Is there any good source where i could learn it from?
I am facing a problem now of how to make a login form for it so i can log in when the password is right?
November 29th, 2012, 05:36 PM
All you info you'll ever need on how to "login securely".
Originally Posted by UkraineIsHere
Thanks to E-Oreo
November 30th, 2012, 12:21 AM
as great as E-Oreo's script is for learning, when it comes to real life applications, use the PHPass password library. It has actually been tested and proven to work, and it's pretty foolproof:
You should generally rely on established libraries for security stuff. Don't try to implement it yourself, because there are a lot of things you can do wrong (no, md5() does not create secure hashes).
The PHPass website also has an article about creating a simple login form:
(but you shouldn't just copy and paste the code; understand what it does and then write your own script)