PHP Tutorials: Register & Login: User password change (Part 2)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
21,326
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 21, 2009

Part of the 'Register & Login' Project from phpacademy. This tutorials walks you through changing the users password stored in the database.

Official website
http://phpacademy.org

Support Forum
http://phpacademy.org/forum

Follow us on Twitter!
http://twitter.com/phpacademy

  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (37)

Sign In or Sign Up now to post a comment!
  • @MsKoko144 Starting a tiny bit of programming knowledge, the basics took me a week or so with some of these video tutorials.

    From that to proper (OO) software design principles, about a year and a couple of books, and I'm still learning.

  • Simple question, programmers :

    How long did it take you to learn PHP ?

  • @WanJiinG i dont remember really..... i think i have a Zip of full files, here is the link

    try this! this should work perfectly :) good luck to you

    i will send you in pm cause i cant here

  • @MrDemeDevdariani Hi! Have you solved it? I got the same error too! T.T

  • @dogonnogod hey, thanks for the code. but I'm getting a syntax error :\ can you have a look at it, please?

  • @dust103194 append $_POST['submit'] with @

    code will look like: if(@$_POST['submit']) {

  • To comply with newer versions of xampp, which includes the newer versions of php you have to do something like this everywhere you have this problem:

    if (isset($_GET['name'])){ 

    $name = $_GET['name']; }

    name being whatever index is needed.

  • Newer versions of xampp(like 1.7.4 or newer) seem to have this problem with a lot of notices of undefined indexes and variables. Versions of 1.7.2 and earlier were not as strict and many coding examples used the older versions. You either have to go to php.ini file and make your error_reporting look like this: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED to ignore the notices or you have to add extra code to comply with the newer versions..I will put that example on another comment.

  • @naasir1230786 have u fixed it i have that problem too

  • yes i have on line 22 $oldpassword = md5($_POST["oldpassword"]); $newpassword = md5($_POST["newpassword"]); $newrepassword = md5($_POST["newrepassword"]);

  • Loading comment...
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more