PHP

PHP Source Code

Free PHP Source Code. Download from a vast collections of free PHP source code below. You can modify and integrate it in your own personal use. Just give a little credit to the original author whenever you use it on your system's project.

User Registration and Form Validation Using CodeIgniter

Submitted by admin on
By using CodeIgniter framework, you’ll learn how easy it is to create a registration form with validation using the form_validation library that is built-in with CodeIgniter. This example demonstrates how to validate every control in your form. One example is the validation of email address. All you have to do is simply specify this argument: valid_email. CodeIgniter will simply look for that

Currency Exchange System Using PHP/MySQL

Submitted by argie on
Hi everyone, this code is created in order to help other in creating there own currency exchange system using php. The feature of this code is, it has two user the counter and the admin, it has user restriction. The admin has a capacity to change currency rate, register user view, edit delete bank account. The admin also has a capacity to give permission to the counter to change the rate of

Online Student Grade Viewer Using PHP and MySQL

Submitted by Oelasor on
This is an online student grade viewer that uses PHP server-side scripting lingo for the front-end interface and MySQL for the database back-end. The web-based application features a built-in database installer that will allow the administrator to install the database objects such as tables, views, stored procedures/functions, cursors, among others. Just make sure the MySQL RDBMS Community Version

Simple Registration Form with random password sent to email

Submitted by localhost27 on
This is a Simple Registration Form with random password sent to email.. Register and it will generate a random password and will be sent to the email address of the one who registered, there's no need for mail server because it uses gmail smtp. Just configure the settings in the verify.php file. -No mail server required. Uses Simple Mail Transfer Protocol to send emails by using the desired email

Online Reservation Widget Using jQuery Datepicker

Submitted by admin on
This code is part of the Online Hotel Reservation I created for L’Fisher Hotel. I used jQuery to select a date using Datepicker. The feature of this code is to automatically change the checkout date based on checkin date. It adds 1 day from checkin date. For example if the checkin date is November 8, 2012 then the checkout then would be November 9, 2012. Additionally, the checkout date cannot be

PHP Page Navigation

Submitted by admin on
I created this script from PHP Pagination Class. It took me half an hour to create this little script. This script is very useful if you want page navigation in your record. Usage: Just include the class file. include('ps_pagination.php'); then create a new object. $pager = new PS_Pagination($conn, $sql, 8, 10); Complete source code: Page Navigation in PHP Country ID Country Create a database

Read More Script in PHP

Submitted by admin on
This is a simple script that allows you to create a teaser/excerpt in your home page. The function contains two arguments. To use it, you need to pass a parameter into the function. Parameters: content = required word_limit = optional Function: function excerpts($content, $word_limit = 30) { $words = explode(" ",$content); return implode(" ",array_splice($words,0,$word_limit)); }