php - Just want to know something about passwords -
i'm creating first plugin wordpress , i'm starting use php. there's been lot of bumps along way, far looking great! want cleared how passwords stored in mysql.
i'm transferring user information 1 database using following code:
$userdata = array( 'user_pass' => 'password' );
right i'm manually entering in password, ideally, want store password 1 database variable, plug array shown above.
i'm assuming (correct me if i'm wrong) can't use sql select encrypted password, put in variable , expect work. there way use same user password on new database old database?
i know pretty elementary question, again i'm new this. haven't delved security functions of php yet. thanks help!
you can use sql select encrypted password , use result variable. it's same getting other information database.
Comments
Post a Comment