POS Pharmacy System In PHP With Source Code

POS Pharmacy System In PHP With Source Code

Project: POS Pharmacy System In PHP with source code

-To download POS pharmacy system project for free(Scroll Down)

In this system, User has to log in as admin. The pharmacist can create new prescriptions, manage stock. Admin can manage payments. He can view users, view prescriptions, manage/add medicine stock. It’s easy to operate and understand by users. The design is pretty simple and the user won’t find it difficult to understand, use and navigate. This project is developed using PHP, JavaScript, Bootstrap, and CSS. Talking about the project, it contains just a user side. All the management are done from the admin side like maintaining the daily sales report. From the user side, the users can view the homepage and see the contents available there. Through this site,  the admin can view his shop log with more ease. He/She can manipulate the activities inside their shop. Can add and maintain the dealer’s information.

About The System

POS Pharmacy System allows you to manage the medicines with ease. You can check each and every detail. The project consists of PHP, JavaScript, Bootstrap, and CSS. Talking about the project, it contains just an admin side. All the management are done from the admin side like adding customers to adding the drug or medicine dealer. From the user side, the users can view the homepage and see the contents available there. Through this site,  admin can maintain his business.

This project intends to provide the students with an environment where they can maintain a shop system. By doing this, it will allow them to gain the basic knowledge about using any kind of project management system. This project has only a single agenda, that is, to allow the shop owner to maintain his business efficiently. Here you have to sign up in order to perform the CRUD operations. When you sing up then you can view the admin dashboard. From there you can manage your all the necessary activities.

Features such as Editing site content, user management, and site settings are the most essential feature of a site. And these all features have made management of site easier as the user can change the content and setting any time he/she wants rather than opening the whole source code and changing each line of codes. This project in PHP helps in easy management of your fruit shop. Here the user can maintain their daily up to date records.

Note: Please do not try to delete any files within the given project folder. Doing so may lead up to fatal errors in the program.

Features
  1. Login
  2. Sales report view
  3. Add supplier and customer
  4. print receipt
How To Run??

After Starting Apache and MySQL in XAMPP, follow the following steps

1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/

Now Connecting Database

4th Step: Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: Then, click on databases tab
6th Step: Create database naming “sales” and then click on import tab
7th Step: Click on browse file and select “sales.sql” file which is inside “database” folder
8th Step: Click on go.

After Creating Database,

9th Step: Open a browser and go to URL “http://localhost/pharma/admin/

DOWNLOAD POS PHARMACY SYSTEM IN PHP WITH SOURCE CODE FOR FREE: CLICK THE BUTTON BELOW

Download

6
Leave a Reply

avatar
2 Comment threads
4 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
5 Comment authors
Fabian RosMaheshrajeevNaseeb BajracharyaAntima Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Antima
Guest
Antima

http://localhost/Pharma/ on this address when we type admin .. admin as username and password and than click on login button show ..username missing and password missing… why..please help

0){
session_start();
$_SESSION[‘admin_id’]=$row[0];
$_SESSION[‘username’]=$row[1];
header(“location:http://“.$_SERVER[‘HTTP_HOST’].dirname($_SERVER[‘PHP_SELF’]).”/admin.php”);
}else{
$message=”Invalid login Try Again”;
}
break;
case ‘Pharmacist’:
$result=mysql_query(“SELECT pharmacist_id, first_name,last_name,staff_id,username FROM pharmacist WHERE username=’$username’ AND password=’$password'”);
$row=mysql_fetch_array($result);
if($row>0){
session_start();
$_SESSION[‘pharmacist_id’]=$row[0];
$_SESSION[‘first_name’]=$row[1];
$_SESSION[‘last_name’]=$row[2];
$_SESSION[‘staff_id’]=$row[3];
$_SESSION[‘username’]=$row[4];
header(“location:http://“.$_SERVER[‘HTTP_HOST’].dirname($_SERVER[‘PHP_SELF’]).”/pharmacist.php”);
}else{
$message=”Invalid login Try Again”;
}
break;
case ‘Cashier’:
$result=mysql_query(“SELECT cashier_id, first_name,last_name,staff_id,username FROM cashier WHERE username=’$username’ AND password=’$password'”);
$row=mysql_fetch_array($result);
if($row>0){
session_start();
$_SESSION[‘cashier_id’]=$row[0];
$_SESSION[‘first_name’]=$row[1];
$_SESSION[‘last_name’]=$row[2];
$_SESSION[‘staff_id’]=$row[3];
$_SESSION[‘username’]=$row[4];
header(“location:http://“.$_SERVER[‘HTTP_HOST’].dirname($_SERVER[‘PHP_SELF’]).”/cashier.php”);
}else{
$message=”Invalid login Try Again”;
}
break;
case ‘Manager’:
$result=mysql_query(“SELECT manager_id, first_name,last_name,staff_id,username FROM manager WHERE username=’$username’ AND password=’$password'”);
$row=mysql_fetch_array($result);
if($row>0){
session_start();
$_SESSION[‘manager_id’]=$row[0];
$_SESSION[‘first_name’]=$row[1];
$_SESSION[‘last_name’]=$row[2];
$_SESSION[‘staff_id’]=$row[3];
$_SESSION[‘username’]=$row[4];
header(“location:http://“.$_SERVER[‘HTTP_HOST’].dirname($_SERVER[‘PHP_SELF’]).”/manager.php”);
}else{
$message=”Invalid login Try Again”;
}
break;
}}
echo <<<LOGIN

Pharmacy Sys

#content {
height: auto;
}
#main{
height: auto;}

Pharmacy Sys

Login here
$message

–Select position–
Admin
Pharmacist
Cashier
Manager

Pharmacy Sys 2013. Copyright All Rights Reserved

LOGIN;
?>

Naseeb Bajracharya
Guest

make sure about your database connections, you might need to configure the database connection. Try doing these and if it still didn’t work then kindly send us your Screenshot at [email protected]

rajeev
Guest
rajeev

what is the username&password??

Fabian Ros
Editor

You can check the login details yourself from SQL file

Mahesh
Guest
Mahesh

i tried but it won’t work kindly give username and password i need it please

Fabian Ros
Editor

you can check all the login details yourself from the database file