php

Server Side Form Validation (Registration Form)

Submitted by GeePee on
Validating a form using a JavaScript gives convenience to your visitors by avoiding page reload and other features that we discuss on our previous tutorial called Validate Login Page Using JavaScript. But validating a form using JavaScript alone is not safe. One reason is if the JavaScript is not enabled in the web browser.

How to Create Secure Registration Page in PHP/MySQL Part III

Submitted by GeePee on

In our last two articles, we discuss on how to create a registration page using mysql and mysqli extension and how to secure it using mysql_real_escape_string or mysqli_real_escape_string.

This time we will modify our code to use PDO instead of mysql or mysqli extension.

How to Create Secure Registration Page in PHP/MySQL Part II

Submitted by GeePee on
mysqli extension works differently compared to mysql extension. The 'i' stands for improved. Which means that it has some features that cannot be found in mysql extension. There are two approach in using mysqli extension. They are Object Oriented style and Procedural style. If you are migrating your old PHP file to mysqli extension, I prefer you use the procedural style. It's very easy to convert it to mysqli this way. Looking at the example in our previous tutorial.

How to Create Secure Registration Page in PHP/MySQL Part I

Submitted by GeePee on
By secured we mean that we need to sanitize the data that is passed to our script in order to secure the registration of new account or user. There are three different types of connectivity in MySQL. They are: mysql = old MySQL function mysqli = improved MySQL function pdo = using prepared statement Mysql_connect is currently not supported in PHP version 5.5.0.

Prison Management System Online mysql/pdo v2

Submitted by theadmiraleliud on
This system is about prison management system online where we have the following module 1.prisoners records 2. prisoners transfers 3. officers 4.prisoners officers transfer 5.location of prisons 6.admin module 7.law enforcement module 8.data entry 9.new prison prisoner and officer transfer 11.report 12.new user