Signup and Manage script in PHP MySQL : plus_signup_v1
You should have PHP installed
Database MySQL
Check PDO connection from PHP to MySQL
How to Install Script
Open dump_signup.txt file and use the sql commands to create your tables.
Open config.php and enter your mysql login details.
Open forgot-passwordck.php file and set the value for variable $site_url as per your site name and path
$site_url="https://www.plus2net.com/script-demo/signup/";
Open signup.php file and signup as a user.
Validating inputs | |
Inputs to Database | |
Login & session | |
Login/Logout | |
Change Password |
sukhbir singh | 27-05-2014 |
hii plz tell how to install in our website and pages |
Pramod Kharade | 12-06-2014 |
thanks for given such good example. its so useful. |
saurav | 14-11-2014 |
Nice |
Shiris Kumar | 15-12-2014 |
I am trying to test this signup code in wamp server. Could you guide me with: 1. The site url setup. 2. How do I view any dummy mail (if possible) 3. How do I post the $site_url to reset the password. Thank You. |
smo | 15-12-2014 |
1. You can keep in one directory in root. 2. You can install free mail servers available , long back I was using argosoft. But this is not a must, you can just print out the message to screen and copy the activation URL. This URL then you use in another browser window and see how your script is behaving. 3. Inside readme.txt file details are there. Open your server root from you browser like https://localhost/plus_signup_v1/signup.php Feel free to discuss if any problem you are facing. |
Farhad | 22-04-2015 |
SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database 'master_realestate' This error was shown me when i try to sign up can you please explain what was that issue? |
smo1234 | 22-04-2015 |
Open config.php file and check your MySQL login details. |
Tshepo | 11-08-2015 |
Hi, I'm having trouble with activatepasswordck.php... Where you compared if($no <>1) then echo "Wrong activation". The sql command reads from plus_key table where pkey=:ak. Please explain what you intend here and why I keep getting "Wrong activation". By the way code has really help me alot, Thank you soo much. Your favourable response would be much appreciated. |
smo1234 | 11-08-2015 |
When you use the forgot password link, a random string is generated as key and is stored inside plus_key table. Along with this key a url string with all details are posted to your email address of the user. This part of the script is there inside forgot-passwordck.php page. Once the url is clicked by the user from inbox of the link pass all variables to activepassword.php page where userid and ak ( the random string ) is collected and matched against stored data. It correct then allowed to update the new password , same this also checked after the form is submitted to prevent injection attack. |
26-09-2020 | |
Thank you so much from Colombia, it works very well. |