Jump to content

Login script - i need help changing the edit user details section


CraigLewis

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.