This is a lost password script tutorial. I write it in AJAX, JQuery, Bootstrap, PHP and MySQL. People frequently lose their passwords. Password reset scripts are almost mandatory, with people expecting software to do everything for them. Writing scripts that let people reset their passwords do pose some risks. Are they using a secure email address? Did they make the password hard to guess? Along with that comes many more pains and advances in letting people reset their passwords with scripts. Password encryption is key to securing a hard to guess password. This is an advanced programming made easy. Enjoy!
AJAX JQuery Functions Used For Lost Password Script
- ready() function to check the readiness of the DOM {Document Object Model}
- click() function to check and see if we have clicked a button.
- val() function to get the values of input fields.
- ajax() function to make an Ajax call.
- html() to call information from a processor script.
Bootstrap Classes Used For Lost Password Script
- container.
- form-group.
- form-control.
- btn btn-default
- alert alert-success
- alert alert-warning
PHP Functions Used For Lost Password Script
- mysqli_real_escape_string() to sanitize strings
- filter_var() to sanitize strings
- FILTER_SANITIZE_EMAIL to sanitize emails
- FILTER_SANITIZE_STRING to sanitize strings
- fetch_assoc() to fetch database results.
- num_rows To get the number of rows from a result set
- mail() to mail forms
- close() to close a connection to a database.
A1WEBSITEPRO Social Media Pages
Here are my social media pages, lets hook up!