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.

File Upload using PHP and MySQL

Submitted by cngirwa on
This system enable user to; 1. Log in to the system 2. Upload files 3. Delete files 4. Download files If you are interested on this project please modify it by adding; 1. User manager module 2. User activities tracking module 3. More security features NB: Files are saved in server and only location is saved to database. USERNAME: admin PASSWORD: 123456 Previously, this project was done by josina08

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.

Add, Edit, Delete with data table using PHP/MySQL

Submitted by alpha_luna on
This simple project is created using PHP and it's a database driven using mysql as a database. This project is intended for beginners in PHP. It has a basic PHP code so everyone who is new to this programming language can easily understand and learn. Hope this simple project will help you in your future project.