Skip to main content

Online Leave System


This project is designed while in attachment at nzoia sugar company.

Employee can apply for leave.
Manager will have privileges to approve leaves.
Add employees.
Edit employee details.

User: admin
Pass: admin

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byAnonymous (not verified)on Tue, 06/02/2015 - 15:35

thanks alot this is awesome work made easier

Submitted byMangala Rajapakse (not verified)on Wed, 09/20/2017 - 18:46

I'm getting the following error. Could you kindly help me to resolve?

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\OLS\dbcon.php:2 Stack trace: #0 C:\xampp\htdocs\OLS\index.php(19): require_once() #1 {main} thrown in C:\xampp\htdocs\OLS\dbcon.php on line 2

Thank You.

Submitted byKamal Arifon Sun, 10/01/2017 - 11:56

In reply to by Mangala Rajapakse (not verified)

same with me..
i have try change the content in dbcon.php with this code.

$servername = "localhost";
$username = "root";
$password = "";
$dbname = "jpj_system";

$conn = mysqli_connect($servername, $username, $password, $dbname);

if (!$conn) {

die("Connection failed: " . mysqli_connect_error());


it solved. but then, i get this error.

Fatal error: Uncaught Error: Call to undefined function mysql_query() in C:\xampp\htdocs\ols\Online Leave System\index.php:38 Stack trace: #0 {main} thrown in C:\xampp\htdocs\ols\Online Leave System\index.php on line 38

Please help me

Submitted byQiniso (not verified)on Tue, 11/07/2017 - 22:06

What is the username and the password?

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.