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.

Wings Cafe ordering system

Submitted by Shakhane on
This is wings café ordering system coded in php and MySQL. it is my 3rd semester project at Limkokwing University Of Creative Technology Lesotho. I just hope u will like the code and customize it to suits your projects. Requirements to run this project succefully: Any php support server MySQL for running database. Just import wings.sql (it is in the database folder) in your phpmyadmin. Thanks. If

Calculate distance between 2 IP address

Submitted by chrislim2888 on
This sample code demonstrates you on how to calculate the distance (in km, miles and nautical miles) for 2 IP addresses. In general, this sample code will retrieve the latitude and longitude from the given IP addresses and perform the distance math calculation. Note: This sample requires the IP2Location BIN database which you can download free at http://lite.ip2location.com

Calculate Sunrise and Sunset Value from IP Address

Submitted by chrislim2888 on
The example demonstrate you on how to calculate the sunrise and sunset value from IP address, or to be specific - the geolocation from IP address, without the use of weather library. This solution requires a geolocation table, such as the DB11.LITE database which can be downloaded free from lite.ip2location.com. I would like to keep the source code zip small, so, please download it from http:/

Online Farmers Contracting System

Submitted by kipruzac on
This Project is developed by cherwon kipruto zacharia for Kenya seed company limited . The major aim is to reduce conjestion on farmers who are companies outgrowers. For more information , contact [email protected] or you can add zacharia kipruto cherwon on facebook or follow @kipruzac on twitter or contact me by mobile +254716654532

How to Block Countries From Accessing Your Website

Submitted by chrislim2888 on
This sample code demonstrate you on how to block the countries from accessing your website based on visitor's IP address using a non-intrusive method on application level (webpage). I'm using the BIN data file approach that will free my hassle to set up a relation database for this. The IP geolocation BIN data provided in this sample zip is outdated, and you can always download a free IP

Record Management System Using PHP/MySQL with PDO Query

Submitted by argie on
This system will allow you to record the transaction that comes in and out of the Record Office. I developed this using PHP/MySQL with PDO support. The features of this system are login form, transaction form. It has the basic features of a database system like add, edit, update, and delete. It also has a masterfile for document type and offices. The masterfile is then used in the transaction form

Divide 24 hours into 3 shifts schedule with MySQL date_format function

Submitted by ronard on
I'm currently developing an application for shifting schedule in our team and I would like to share with you guys on how to divide 24 hours into 3 shifts. The following schedules are: First shift: 7-15 (7am-3pm) Second shift: 15-23 (3pm-11pm) Third shift: 23-7 (11pm-7am) I used date_format function in MySQL and call the current system time, and I also declare variable for each shifts in and out