php

Online Ordering System

Submitted by Jeprox on
This Simple Online Ordering System has been written using PHP. You can add, edit, delete products, multiple ordering of products, can upload image product and can leave a message to the website and if you want to go to the admin page just type /admin in the URL. The main feature of this system is the shopping cart. db name: it.sql admin username: admin admin password: admin

Online Public Access Catalog for Researches

Submitted by Jeprox on
Online Public Access Catalog for researches is for viewing and providing information about thesis, capstones and about the authors. It aims to give the students the proper reference that they will need and to know the location of the Special Projects made by the previous batch of students. The user can search by author, title, year and location. Admin Username: admin Admin Password: admin

How To Use Function checkdate() Using PHP

Submitted by alpha_luna on

Good Day!!!

In this tutorial, we are going to learn PHP function, and it's called "checkdate()". The checkdate() function returns true if the specified date is valid, and false otherwise.
A date is valid if:
  • month - is between 1 and 12 inclusive
  • day - is within the allowed number of days for the particular month
  • year - is between 1 and 32767 inclusive
This function has this form:

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.