CraigLewis Posted June 7, 2014 Share Posted June 7, 2014 hi im new to php im using a script that i found at the link below: http://forums.devshed.com/php-faqs-stickies-167/program-basic-secure-login-system-using-php-mysql-891201.html It works fine but i have added a couple of fields to the database : telephone and mobile_telephone Ive change the register.php to include these fields but im struggling with the edit_account Could anyone help please Quote Link to comment https://forums.phpfreaks.com/topic/289030-login-script-i-need-help-changing-the-edit-user-details-section/ Share on other sites More sharing options...
Jacques1 Posted June 7, 2014 Share Posted June 7, 2014 The code is not secure, and it was never really intended to be. It's a rather badly named PDO tutorial for beginners, not a login script for actual use in production. Another member of the forum made a more serious attempt of implementing this: http://forums.devshed.com/php-faqs-stickies-167/advanced-login-system-password-forgot-955871.html But it's generally a bad idea to just copy and paste code in the hopes that it will do what you expect, especially when it's security-related code. Of course you can use this for inspiration, but the bottom line is, learn PHP and write your own code. Quote Link to comment https://forums.phpfreaks.com/topic/289030-login-script-i-need-help-changing-the-edit-user-details-section/#findComment-1482126 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.