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.
This is the basic script to understand how to integrate front end with backend scripts for storing, retrieving data from MySQL database and manage session.
No external libraries like JQuery or Angular is used. Check the script below for advance users who can integrate JQuery , Bootstrap etc..
PHP Membership Management Script (Another PHP MySQL Script.)
You can get following features in our Membership Management Script.
Siteadmin approval of each member after signup. After approval only member can login.
Siteadmin can enable or disable member's login status.
Posting of comment under other member profile by logged in members
There is a separate section for members to manage their profile, change password, update profile – photo etc
This article is written by plus2net.com team.
https://www.plus2net.com
plus2net.com
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.
✖
We use cookies to improve your browsing experience. . Learn more