0% found this document useful (0 votes)
300 views56 pages

Project - Report

This document contains a report on an online job portal project. It includes an introduction to PHP and MySQL, which were the technologies used to develop the job portal. It provides definitions for various technologies and abbreviations related to web development. The report also includes sections on project scope, features, design, and code files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
300 views56 pages

Project - Report

This document contains a report on an online job portal project. It includes an introduction to PHP and MySQL, which were the technologies used to develop the job portal. It provides definitions for various technologies and abbreviations related to web development. The report also includes sections on project scope, features, design, and code files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 56

ECB

ONLINE JOB PORTAL


PROJECT REPORT
This document contains the Report for the Online ESSAY System.

Himanshu
Abhijeet
kshitiz

Engineering College Bikaner


MGSU
2

ACKNOWLEDGEMENT

This project has been designed by our great effort and with the help and guidance of

our great helpful teacher Mr. K.K. Khatri Head of Department ,Department Of Computer

Application, SHRI JAIN P.G. COLLEGE.

We express our heartiest thankfulness to Mr. Rakesh Sir, Mr. Ganesh Sir and Mr.

Sanjay Sir Without him; we could not complete our project with this progress. Whenever we

felt problems in the project, he stepped down to our level and listened patiently to our

problems and then solved them. He has given us his full support, help and his most valuable

time.

ONLINE Job Portal


MGSU
3

CERTIFICATE

This is certified that this project entitled “Online Job portal” submitted in partial

fulfillment of the degree of BCA to the Maharaja Ganga Singh University Through done by

Himanshu ,Kshitiz and Abhijeet is an authentic work carried out by them at computer lab

under my guidance. The matter embodied in this project work has not been submitted earlier

for award of any degree or diploma to the best of my knowledge and belief.

Signature of the students Signature of the Guide

ONLINE Job Portal


MGSU
4

SELF CERTIFICATE
This is certified that the dissertation/project report entitled “Online Job portal” is done by

us in an authentic work carried out for the partial fulfillment of the requirements for the

award of the degree of BCA under the guidance of Mr. Ankur sir and Department faculty

members. The matter embodied in this project work has not been submitted earlier for

award of any degree or diploma to the best of our knowledge and belief.

Signature of the students

ONLINE Job Portal


MGSU
5

Table of Contents

o Introduction

o About php

o php file

o Scope

o Definitions, Abbreviations and Acronyms

o References

o Technologies

o Overview

o Overall Description

o Product Perspective

o Software Interface

o Hardware Interface

o Communication Interface

o Product Functions

o User Characteristics

o Code files

o Understanding Web application security challenges

o Design layout

o Supplementary Requirements:

ONLINE Job Portal


MGSU
6

1. Introduction
PHP is a powerful tool for making dynamic and interactive Web pages.

PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

In our PHP tutorial you will learn about PHP, and how to execute scripts on your server.

What is PHP?
 PHP stands for PHP: Hypertext Preprocessor
 PHP is a server-side scripting language, like ASP
 PHP scripts are executed on the server
 PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, Postures,
Generic ODBC, etc.)
 PHP is an open source software
 PHP is free to download and use

1.2 What is php file?


 PHP files can contain text, HTML tags and scripts
 PHP files are returned to the browser as plain HTML
 PHP files have a file extension of ".php", ".php3", or ".phtml"

What is MySQL?
 MySQL is a database server
 MySQL is ideal for both small and large applications
 MySQL supports standard SQL
 MySQL compiles on a number of platforms
 MySQL is free to download and use

ONLINE Job Portal


MGSU
7

PHP + MySQL
 PHP combined with MySQL are cross-platform (you can develop in Windows and
serve on a Unix platform)

Why PHP?
 PHP runs on different platforms (Windows, Linux, Unix, etc.)
 PHP is compatible with almost all servers used today (Apache, IIS, etc.)
 PHP is FREE to download from the official PHP
 PHP is easy to learn and runs efficiently on the server side

What do you Need?


If your server supports PHP you don't need to do anything.

Just create some .php files in your web directory, and the server will parse them for you. Because
it is free, most web hosts offer PHP support.

Definitions, Abbreviations and Acronyms

 Appche: Appche Database is the database management system that delivers a


flexible and cost effective database platform to build robust on demand business
applications
 HTTP: Hypertext Transfer Protocol is a transaction oriented client/server protocol
between web browser & a Web Server
 HTTPS: Secure Hypertext Transfer Protocol is a HTTP over SSL (secure socket
layer)
 HTML: Hypertext Markup Language is a markup language used to design static
web pages

ONLINE Job Portal


MGSU
8

 CSS: CSS stands for Cascading Style Sheets. Styles define how to display HTML
elements. Styles were added to HTML 4.0 to solve a problem. External Style
Sheets can save a lot of work. External Style Sheets are stored in CSS files.

 DREMWEAR: This course provides a basic understanding of how to create a


website, covering simple structures and methods of design.
You will learn all the basics of website design such as site creation, page creation,
using tables and behaviors, library elements, frame sets, layers, using the timeline for
animation, and uploading the site. Key aspects of website management and
maintenance are also covered.

 PHOTOSHOP: Photoshop is only one tool in a good designer's arsenal. Other


popular tools include Paint Shop Pro, DeBabelizer, or LView Pro for Windows and
GIF Converter or Graphics Converter for Macintosh. Fractal Design, Aldus and HSC
also put out some excellent programs .

XAMPP

XAMPP is an abbreviation where X stands for Cross-Platform, A stands for Apache, M stands
for MYSQL, and the Ps stand for PHP and Perl, respectively. It is an open-source package of
web solutions that includes Apache distribution for many servers and command-line executables
along with modules such as Apache server, MariaDB, PHP, and Perl.

XAMPP helps a local host or server to test its website and clients via computers and laptops
before releasing it to the main server. It is a platform that furnishes a suitable environment to test
and verify the working of projects based on Apache, Perl, MySQL database, and PHP through
the system of the host itself.

ONLINE Job Portal


MGSU
9

Many other components are also part of this collection of software and are explained below.

1. Cross-Platform: Different local systems have different configurations of operating


systems installed in it. The component of cross-platform has been included to increase the
utility and audience for this package of Apache distributions. It supports various
platforms such as packages of Windows, Linus, and MAC OS.
2. Apache: It is an HTTP a cross-platform web server. It is used worldwide for delivering
web content. The server application has made free for installation and used for the
community of developers under the aegis of Apache Software Foundation. The remote
server of Apache delivers the requested files, images, and other documents to the user.
3. MariaDB: Originally, MySQL DBMS was a part of XAMPP, but now it has been
replaced by MariaDB. It is one of the most widely used relational DBMS, developed by
MySQL. It offers online services of data storage, manipulation, retrieval, arrangement,
and deletion.
4. PHP: It is the backend scripting language primarily used for web development. PHP
allows users to create dynamic websites and applications. It can be installed on every
platform and supports a variety of database management systems. It was implemented
using C language. PHP stands for Hypertext Processor. It is said to be derived from
Personal Home Page tools, which explains its simplicity and functionality.
5. Perl: It is a combination of two high-level dynamic languages, namely Perl 5 and Perl 6.
Perl can be applied for finding solutions for problems based on system administration,
web development, and networking. Perl allows its users to program dynamic web
applications. It is very flexible and robust.
6. phpMyAdmin: It is a tool used for dealing with MariaDB. Its version 4.0.4 is currently
being used in XAMPP. Administration of DBMS is its main role.
7. OpenSSL: It is the open-source implementation of the Secure Socket Layer Protocol and
Transport Layer Protocol. Presently version 0.9.8 is a part of XAMPP.
8. XAMPP Control Panel: It is a panel that helps to operate and regulate upon other
components of the XAMPP. Version 3.2.1 is the most recent update. A detailed
description of the control panel will be done in the next section of the tutorial.

ONLINE Job Portal


MGSU
10

9. Webalizer: It is a Web Analytics software solution used for User logs and provide details
about the usage.
10. Mercury: It is a mail transport system, and its latest version is 4.62. It is a mail server,
which helps to manage the mails across the web.
11. Tomcat: Version 7.0.42 is currently being used in XAMPP. It is a servlet based on
JAVA to provide JAVA functionalities.
12. Filezilla: It is a File Transfer Protocol Server, which supports and eases the transfer
operations performed on files. Its recently updated version is 0.9.41.

Database

It is very important to understand the database before learning MySQL. A database is an


application that stores the organized collection of records. It can be accessed and manage by the
user very easily. It allows us to organize data into tables, rows, columns, and indexes to find the
relevant information very quickly. Each database contains distinct API for performing database
operations such as creating, managing, accessing, and searching the data it stores.

MySQL is a Relational Database Management System (RDBMS) software that provides many
things, which are as follows:

 It allows us to implement database operations on tables, rows, columns, and indexes.


 It defines the database relationship in the form of tables (collection of rows and
columns), also known as relations.
 It provides the Referential Integrity between rows or columns of various tables.
 It allows us to updates the table indexes automatically.
 It uses many SQL queries and combines useful information from multiple tables for the
end-users.

ONLINE Job Portal


MGSU
11

MySQL is becoming so popular because of these following reasons:

 MySQL is an open-source database, so you don't have to pay a single penny to use it.
 MySQL is a very powerful program that can handle a large set of functionality of the
most expensive and powerful database packages.
 MySQL is customizable because it is an open-source database, and the open-source GPL
license facilitates programmers to modify the SQL software according to their own
specific environment.
 MySQL is quicker than other databases, so it can work well even with the large data set.
 MySQL supports many operating systems with many languages like PHP, PERL, C,
C++, JAVA, etc.
 MySQL uses a standard form of the well-known SQL data language.
 MySQL is very friendly with PHP, the most popular language for web development.

ONLINE Job Portal


MGSU
12

1.1. Technologies

 Rational Software Architect: Development Tool


 Rational Data Architect: Data Base Designing Tool
 Appche: Application Server: Application Server
 PHP 5 : Database
The software uses PHP 5 database. The following features of PHP 5 were utilized
for the development of the software :
 PureHTML – To store and query HTML data in its inherent hierarchical
format and optimizes the storage of HTML data to reduce costs &
complexity
 Storage optimization - Reduces the cost of storing data & improve system
efficiency
 Advanced access control - Minimizes the risk of unauthorized access
 HTML
 CSS
 JavaScript
 MYSQL

ONLINE Job Portal


MGSU
13

1.2. Overview

 Overall Description will describe major components of the system, interconnection,


database design, use-case model and the external interfaces
 Specific Requirements will describe the functions of actors, their role in the system,
flow of events for each use-case and constraints

ONLINE Job Portal


MGSU
14

2. Overall Description

The software requires certain tables to be present already as a prerequisite. Tables like the
rank list of entrance LOGIN are presumed to be already present and are accessible by the
system. Each actor in the system has a role and has a set of permissions defined for him. These
permissions specify the access privileges of the user. The user are required to have internet
connection for filling up application forms.

2.1. Product Perspective

 The WebPages are presented to provide a user interface to the customers who want to
set a carrier with company .
 Communication between the client and server is provided through HTTP/HTTPS
protocols.
 Client software is provided with privileges and restrictions to the actors.
 The administrator is provided with a client so that he can create and manage every
actor in the system.
 The server communicates to external databases via internet

ONLINE Job Portal


MGSU
15

External
Databases
(SQL
format)

USER

Internet
Internet

WEB
BROWSER APPCHE
HTTP/HTTPS Application PHP
Server
Intranet

System Users

ONLINE Job Portal


MGSU
16

2.2. Software Interface

Sl No
1 Client on the Internet Web browser, Operating System(Any)
2 Client on the Internet Web Browser, Operating System(any)
3 Application Server WA, Operating System(Any)
4 Database Server Appche , Operating System(Any)
5 Development Dreamweaver, notepad, internet
Environment explorer, database scheme adviser.

2.3. Hardware Interface

Processor RAM Disk Space


Client Side
Internet Explorer Any Standard 128 MB Nil
6.0 or above/ processor
Mozilla Firefox
Server Side
Dreamweaver Pentium III at 1 512 MB 1 GB
Software GHz
Architect CS3.
Appache\ Xampp Pentium III at 1 512 MB 1GB (Excluding
DB Server GHz data size)

ONLINE Job Portal


MGSU
17

2.4. Communication Interface

 Clients on Internet and Intranet will be using HTTP/HTTPS protocol.

2.5. User Characteristics

 All users of the system are expected to have basic knowledge of using a computer as well
as using the internet.

ONLINE Job Portal


MGSU
18

2.6. Constraints

 Student must have so as to interact with the System.


 The certifying authority has a system in place to verify the user information which uses
html for communication with the other systems (There must be a web service).
 Each user is identified by a userid and password.
 In case of resume, respective software must be present which conducts thedetail and
submit data into database
 The feature of giving Higher Option during Counseling by the customers out of scope of
the System
 Databases like list of detail ,signin are assumed to be already present. No provision is made
in the software to add or edit these details.

ONLINE Job Portal


MGSU
19

i. Administrator

Responsible for managing the System users, viewing logs.


a) Manage System Users: Manage accounts and set various access privileges
for viewing information for query by client,user login,admin login,content
manage,check detail.
b) Customize the System: The administrator has got provisions for customizing the
System like adding the profile, entering the detail.

ii. Adding the detail


Responsible for conducting job portalfor particular content.
a) View All Details: View writer details, order content procedures and all other
data related to the query.
b) Generate Reports: Generates reports useful for the order procedure like the
list of customers appearing for Counseling at each centre, list of resume
allotted to each order etc.

ONLINE Job Portal


MGSU
20

Code in project
In various file in our project in which

1. Admin.php – in included all php script to administrative and control of website.

2. Config,php- all the control of database query.

3. dbconfig,php- connections between database server and php code files.

4. Default.php- in includes all database string query.

5. Header.php-all the source coding of header design.

6. Signup.php-all the math return fact. In writes.

7. Index.php- in be coded navigate other php files.

8. login.php- code in product search.

9. Other css and java script files into be include.

ONLINE Job Portal


MGSU
21

3.2 Supplementary Requirements:


 Extended reach to geographically scattered customers: -
Geographically scattered customers should be able to apply and fill in the
application form through the internet .They should also know the status of
the admission online.
 Reduced paper work at the university: - The University should only
need to employ only minimum man power for operations like data entry as
the software should take care of most of the complexities involved in data
entry.
 Easier retrieval of information: - Both the coustomers and university
officials should be able to retrieve the information they want very easily.
 Single Window System of Admission: The whole procedure of
admission is carried out through a Single Window System which
increases efficiency and prevents any sort of malpractices.
 Centralized database: - Centralized Database will enable efficient
management of data.
 Report generation made easy: - Centralized database enables easy report
generation. Each actor in the system
 can see different reports according to the permission granted to them. The
reports are specific to the actor. Since the database is centralized the
reports can be formed from a range of tables in the database.

ONLINE Job Portal


MGSU
22

DFD

ONLINE Job Portal


MGSU
23

ER diagram:

ONLINE Job Portal


MGSU
24

Database

DESIGN :-

ONLINE Job Portal


MGSU
25

ONLINE Job Portal


MGSU
26

ONLINE Job Portal


MGSU
27

ONLINE Job Portal


MGSU
28

ONLINE Job Portal


MGSU
29

ONLINE Job Portal


MGSU
30

Code :
Index :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="cs" />
<meta name="robots" content="all,follow" />

<meta name="author" content="All: ... [Nazev webu - www.url.cz]; e-mail: [email protected]" />
<meta name="copyright" content="Design/Code: Vit Dlouhy [Nuvio - www.nuvio.cz]; e-mail:
[email protected]" />

<title>JOB PORTAL</title>
<meta name="description" content="..." />
<meta name="keywords" content="..." />

<link rel="index" href="./" title="Home" />


<link rel="stylesheet" media="screen,projection" type="text/css" href="./css/main.css" />
<link rel="stylesheet" media="print" type="text/css" href="./css/print.css" />
<link rel="stylesheet" media="aural" type="text/css" href="./css/aural.css" />
<style type="text/css">
<!--
.style1 {
color: #000066;
font-weight: bold;
}
ONLINE Job Portal
MGSU
31

.style2 {
font-size: medium;
font-weight: bold;
}
-->
</style>
</head>

<body id="www-url-cz">
<!-- Main -->
<div id="main" class="box">
<?php
include "Header.php"
?>
<?php
include "menu.php"
?>
<!-- Page (2 columns) -->
<div id="page" class="box">
<div id="page-in" class="box">

<div id="strip" class="box noprint">

<!-- RSS feeds -->


<hr class="noscreen" />

<!-- Breadcrumbs -->


<p id="breadcrumbs">&nbsp;</p>
<hr class="noscreen" />

ONLINE Job Portal


MGSU
32

</div> <!-- /strip -->

<!-- Content -->


<div id="content">

<!-- /article -->

<hr class="noscreen" />

<!-- /article -->

<hr class="noscreen" />

<!-- Article -->

<!-- /article -->

<hr class="noscreen" />

<!-- Article -->


<div class="article">
<h2><span><a href="#">Welcome To JOB PORTAL</a></span></h2>

<p> <span class="style2">W</span>elcome to online Job Portal. It provides facility to the Job
Seeker to search for various jobs as per his qualification. Here Job Seeker can registered himself on the
web portal and create his profile along with his educational information. Job Seeker can search various
jobs and apply for the Job.</p>

ONLINE Job Portal


MGSU
33

<p>This Portal is also designed for the various employer who required to recruit employees in
their organization. Employer can registered himself on the web portal and then he can upload
information of various job vacancies in their organization. Employeer can view the applications of Job
Seeker and send call latter to the job seekers.</p>
<p align="right"> <img src="design/banner2.jpg" alt="" width="431" height="117" /></p>
<p class="btn-more box noprint">&nbsp;</p>
</div> <!-- /article -->

<hr class="noscreen" />

</div> <!-- /content -->

<?php
include "right.php"
?>

</div> <!-- /page-in -->


</div> <!-- /page -->

<?php
include "footer.php"
?>
</div> <!-- /main -->

</body>
</html>

Login :

ONLINE Job Portal


MGSU
34

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<?php

if($_POST)
{
session_start();
$UserName=$_POST['txtUser'];
$Password=$_POST['txtPass'];

$con = mysqli_connect("localhost","root","","job");
$sql = "select * from user_master where UserName='".$UserName."' and
Password='".$Password."'";
$query = $con->query($sql);
$result = $query->fetch_all(MYSQLI_ASSOC);
if(count($result)){
$result = $result[0];
$_SESSION['UserId'] = $result['UserId'];
}
header("location:index.php");
// $con = mysqli_connect("localhost","root","","job");
// $sql = "select * from user_master where UserName='".$UserName."' and
Password='".$Password."'";
ONLINE Job Portal
MGSU
35

// // Execute query
// $query = $con->query($sql);
// $records = mysqli_num_rows($result);
// $row = mysqli_fetch_array($result);
// if ($records==0)
// {
// echo '<script type="text/javascript">alert("Wrong UserName or
Password");window.location=\'index.php\';</script>';
// }
// else
// {
// header("location:Admin/index.php");
// }
// mysqli_close($con);
// }
// else if($UserType=="JobSeeker")
// {
// $con = mysqli_connect("localhost","root");
// mysqli_select_db("job", $con);
// $sql = "select * from jobseeker_reg where UserName='".$UserName."' and
Password='".$Password."' and Status='Confirm'";
// $result = mysqli_query($sql,$con);
// $records = mysqli_num_rows($result);
// $row = mysqli_fetch_array($result);
// if ($records==0)
// {
// echo '<script type="text/javascript">alert("Wrong UserName or
Password");window.location=\'index.php\';</script>';
// }
ONLINE Job Portal
MGSU
36

// else
// {
// $_SESSION['ID']=$row['JobSeekId'];
// $_SESSION['Name']=$row['JobSeekerName'];
// header("location:JobSeeker/index.php");
// }
// mysqli_close($con);
// }
// else
// {
// $con = mysqli_connect("localhost","root");
// mysqli_select_db("job", $con);
// $sql = "select * from employer_reg where UserName='".$UserName."' and
Password='".$Password."' and Status='Confirm'";
// $result = mysqli_query($sql,$con);
// $records = mysqli_num_rows($result);
// $row = mysqli_fetch_array($result);
// if ($records==0)
// {
// echo '<script type="text/javascript">alert("Wrong UserName or
Password");window.location=\'index.php\';</script>';
// }
// else
// {
// $_SESSION['ID']=$row['EmployerId'];
// $_SESSION['Name']=$row['CompanyName'];
// header("location:Employer/index.php");
// }
mysqli_close($con);
}
ONLINE Job Portal
MGSU
37

?>

</body>
</html>

Logout
<?php
session_start();

session_destroy();
header("location:index.php");
exit();

?>

Registration :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="cs" />

ONLINE Job Portal


MGSU
38

<meta name="robots" content="all,follow" />

<meta name="author" content="All: ... [Nazev webu - www.url.cz]; e-mail: [email protected]" />
<meta name="copyright" content="Design/Code: Vit Dlouhy [Nuvio - www.nuvio.cz]; e-
mail: [email protected]" />

<title>Job Portal</title>
<meta name="description" content="..." />
<meta name="keywords" content="..." />

<link rel="index" href="./" title="Home" />


<link rel="stylesheet" media="screen,projection" type="text/css" href="./css/main.css" />
<link rel="stylesheet" media="print" type="text/css" href="./css/print.css" />
<link rel="stylesheet" media="aural" type="text/css" href="./css/aural.css" />
<style type="text/css">
<!--
.style1 {
color: #000066;
font-weight: bold;
}
-->
</style>
<script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
</head>

<body id="www-url-cz">
<SCRIPT language="JavaScript1.2" src="gen_validation.js"></SCRIPT>
<SCRIPT language="JavaScript1.2">
var arrFormValidation=
ONLINE Job Portal
MGSU
39

[
[//Name
["minlen=1",
"Please Enter Company Name"
]

],
[//Contact Person
["minlen=1",
"Please Enter Contact Person"
]

],
[//Address
["minlen=1",
"Please Enter Address"
]

],
[//City
["minlen=1",
"Please Enter City"
]

],
[//Email

["minlen=1",
"Please Enter Email "
],
ONLINE Job Portal
MGSU
40

["email",
"Please Enter valid email "
]
],
[//Mobile
["num",
"Please Enter valid Mobile "
],
["minlen=10",
"Please Enter valid Mobile "
]
],
[//Area

["minlen=1",
"Please Enter Area of Work"
]

],

[//User
["minlen=1",
"Please Enter UserName "
]

],
[//Password
["minlen=1",
ONLINE Job Portal
MGSU
41

"Please Enter Password "


]

],
[//Que

],
[//Answer

["minlen=1",
"Please Enter Answer "
]

];
</SCRIPT>
<!-- Main -->
<div id="main" class="box">
<?php
include "Header.php"
?>
<?php
include "menu.php"
?>
<!-- Page (2 columns) -->
<div id="page" class="box">
<div id="page-in" class="box">
ONLINE Job Portal
MGSU
42

<div id="strip" class="box noprint">

<!-- RSS feeds -->


<hr class="noscreen" />

<!-- Breadcrumbs -->


<p id="breadcrumbs">&nbsp;</p>
<hr class="noscreen" />

</div> <!-- /strip -->

<!-- Content -->


<div id="content">

<!-- /article -->

<hr class="noscreen" />

<!-- /article -->

<hr class="noscreen" />

<!-- Article -->

<!-- /article -->

<hr class="noscreen" />


ONLINE Job Portal
MGSU
43

<!-- Article -->


<div class="article">
<h2><span><a href="#">Employer Registration Form</a></span></h2>
<div class="login">

<form action="EmployeInsert.php" method="post" onSubmit="return


validateForm(this,arrFormValidation);" enctype="multipart/form-data" id="form2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Company Name:</td>
<td><span id="sprytextfield3">
<label>
<input type="text" name="txtName" id="txtName" />
</label>
<span class="textfieldRequiredMsg">Enter Name</span></span></td>
</tr>

<tr>
<td>Contact Person:</td>
<td><span id="sprytextfield8">
<label>
<input type="text" name="txtPerson" id="txtPerson" />
</label>
<span class="textfieldRequiredMsg">Enter Contact Person</span></span></td>
</tr>
<tr>
<td>Address:</td>
<td><span id="sprytextarea1">
<label>
ONLINE Job Portal
MGSU
44

<textarea name="txtAddress" id="txtAddress" cols="45" rows="5"></textarea>


</label>
<span class="textareaRequiredMsg">Enter Address</span></span></td>
</tr>
<tr>
<td>City:</td>
<td><span id="sprytextfield4">
<label>
<input type="text" name="txtCity" id="txtCity" />
</label>
<span class="textfieldRequiredMsg">Enter City</span></span></td>
</tr>
<tr>
<td>Email:</td>
<td><span id="sprytextfield5">
<label>
<input type="text" name="txtEmail" id="txtEmail" />
</label>
<span class="textfieldRequiredMsg">Enter Email</span></span></td>
</tr>
<tr>
<td>Mobile:</td>
<td><span id="sprytextfield6">
<label>
<input type="text" name="txtMobile" id="txtMobile" />
</label>
<span class="textfieldRequiredMsg">Enter Mobile</span></span></td>
</tr>
<tr>
<td>Area of Work: </td>
ONLINE Job Portal
MGSU
45

<td><span id="sprytextfield7">
<input type="text" name="txtAreaWork" id="txtAreaWork" />
<span class="textfieldRequiredMsg">Enter Area of Work</span></span></td>
</tr>
<tr>
<td>User Name:</td>
<td><span id="sprytextfield9">
<label>
<input type="text" name="txtUserName" id="txtUserName" />
</label>
<span class="textfieldRequiredMsg">Enter User Name</span></span></td>
</tr>
<tr>
<td>Password:</td>
<td><label><span id="sprytextfield10">
<input type="password" name="txtPassword" id="txtPassword" />
<span class="textfieldRequiredMsg">Enter
Password</span></span></label></td>
</tr>
<tr>
<td>Security Question:</td>
<td><select name="cmbQue" id="cmbQue">
<option>What is Your Pet Name?</option>
<option selected="selected">Who is Your Favourite Person?</option>
<option>What is the Name of Your First School?</option>
</select></td>
</tr>
<tr>
<td>Answer:</td>
<td><span id="sprytextfield11">
ONLINE Job Portal
MGSU
46

<label>
<input type="text" name="txtAnswer" id="txtAnswer" />
</label>
<span class="textfieldRequiredMsg">Enter Answer.</span></span></td>
</tr>
<tr>
<td colspan="2"><label>
<div align="center">
<input type="submit" name="button2" id="button2" value="Submit" />
</div>
</label></td>
</tr>
</table>
</form>
</div>
<p>&nbsp;</p>

<p class="btn-more box noprint">&nbsp;</p>


</div> <!-- /article -->

<hr class="noscreen" />

</div> <!-- /content -->

<?php
include "right.php"
?>

</div> <!-- /page-in -->


</div> <!-- /page -->
ONLINE Job Portal
MGSU
47

<?php
include "footer.php"
?>
</div> <!-- /main -->

<script type="text/javascript">
<!--
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4");
var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1");
var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8");
var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7");
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5");
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6");
var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9");
var sprytextfield10 = new Spry.Widget.ValidationTextField("sprytextfield10");
var sprytextfield11 = new Spry.Widget.ValidationTextField("sprytextfield11");
//-->
</script>
</body>
</html>

Career:

ONLINE Job Portal


MGSU
48

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="cs" />
<meta name="robots" content="all,follow" />

<meta name="author" content="All: ... [Nazev webu - www.url.cz]; e-mail: [email protected]" />
<meta name="copyright" content="Design/Code: Vit Dlouhy [Nuvio - www.nuvio.cz]; e-
mail: [email protected]" />

<title>Upload Resume</title>
<meta name="description" content="..." />
<meta name="keywords" content="..." />

<link rel="index" href="./" title="Home" />


<link rel="stylesheet" media="screen,projection" type="text/css" href="./css/main.css" />
<link rel="stylesheet" media="print" type="text/css" href="./css/print.css" />
<link rel="stylesheet" media="aural" type="text/css" href="./css/aural.css" />
<style type="text/css">
</style>
<script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
</head>

<body id="www-url-cz">

<!-- Main -->


<div id="main" class="box">
ONLINE Job Portal
MGSU
49

<?php
include "Header.php"
?>
<?php
include "menu.php"
?>

<?php

$status = '';

if($_POST){
$con = mysqli_connect("localhost","root","","job");

if(isset($_FILES['resume'])){
$errors= array();
$file_name = $_FILES['resume']['name'];
$file_tmp =$_FILES['resume']['tmp_name'];
$file_ext= pathinfo($file_name, PATHINFO_EXTENSION);

$extensions= array("jpeg","jpg","png","pdf","doc");

if(in_array($file_ext,$extensions)=== false){
$errors[]="extension not allowed, please choose a JPEG or PNG file.";
}

if(empty($errors)==true){
$resume = time().'.'.$file_ext;
move_uploaded_file($file_tmp,"resume/".$resume);

ONLINE Job Portal


MGSU
50

$sql = "INSERT INTO jobseeker_reg(JobSeekerName, Address, City, Email, Mobile,


Qualification, Gender, BirthDate, Resume, Status, UserName, Password, Question, Answer)
VALUES

('".$_POST['name']."','".$_POST['address']."','".$_POST['city']."','".$_POST['email']."','".$_POS
T['mobile']."','".$_POST['qualification']."','".$_POST['gender']."','".$_POST['dob']."','".$resume."
','pending','N/A','N/A','N/A','N/A')";

if ($con->query($sql) === TRUE) {


$status = "New record created successfully";
} else {
$status = "Error: " . $sql . "<br>" . $con->error;
}
}else{
print_r($errors);
}
}

?>
<!-- Page (2 columns) -->
<div id="page" class="box">
<div id="page-in" class="box">

<div id="strip" class="box noprint">

<!-- RSS feeds -->


<hr class="noscreen" />

ONLINE Job Portal


MGSU
51

<!-- Breadcrumbs -->


<p id="breadcrumbs">&nbsp;</p>
<hr class="noscreen" />

</div> <!-- /strip -->

<!-- Content -->


<div id="content">

<?php echo $status; ?>


<!-- /article -->

<hr class="noscreen" />

<!-- /article -->

<hr class="noscreen" />

<!-- Article -->

<!-- /article -->

<hr class="noscreen" />

<!-- Article -->


<div class="article">
<h2><span><a href="#">Submit Info</a></span></h2>
<div class="login">
<form action="" method="post" enctype="multipart/form-data">
ONLINE Job Portal
MGSU
52

<table width="100%" border="0" cellspacing="0" cellpadding="0">


<tr>
<td>Name:</td>
<td>
<label>
<input type="text" name="name" id="txtName" required/>
</label>
</tr>

<tr>
<td>Email:</td>
<td>
<label>
<input type="email" name="email" required/>
</label>
</tr>
<tr>
<td>Mobile:</td>
<td>
<label>
<input type="text" name="mobile" required/>
</label>
</tr>
<tr>
<tr>
<td>Address:</td>
<td>
<label>
<textarea name="address" required cols="45" rows="5"></textarea>
</label>
ONLINE Job Portal
MGSU
53

</tr>
<tr>
<td>City:</td>
<td>
<label>
<input type="text" name="city" required />
</label>
</tr>
<tr>
<td>Qualification:</td>
<td>
<label>
<select name="qualification" required>
<option>B.A</option>
<option>M.A</option>
<option>BCA</option>
<option>MCA</option>
<option>BCS</option>
<option>MSC</option>
</select>
</label>
</tr>
<tr>
<td>Gender:</td>
<td>
<label>Male</label>
<input type="radio" checked name="gender" value="male"/>
<label>FeMale</label>
<input type="radio" name="gender" value="female"/>
</tr>
ONLINE Job Portal
MGSU
54

<tr>
<td>Dob:</td>
<td>
<label>
<input type="date" name="dob" id="dob" required />
</label>
</tr>
<tr>
<td>Resume:</td>
<td>
<label>
<input type="file" name="resume" required/>
</label>
</tr>
<tr>
<td colspan="2"><label>
<div align="center">
<input type="submit" name="button2" id="button2" value="Submit" />
</div>
</label></td>
</tr>
</table>
</form>
</div>
<p>&nbsp;</p>

<p class="btn-more box noprint">&nbsp;</p>


</div> <!-- /article -->

<hr class="noscreen" />


ONLINE Job Portal
MGSU
55

</div> <!-- /content -->

<?php
include "right.php"
?>

</div> <!-- /page-in -->


</div> <!-- /page -->

<?php
include "footer.php"
?>
</div> <!-- /main -->

</body>
</html>

ONLINE Job Portal


MGSU
56

Reference :

1. https://www.codecademy.com/catalog/language/php
2. https://www.tutorialspoint.com/php/index.htm
3. https://www.javatpoint.com/php-tutorial
4. https://www.php.net/manual/en/tutorial.php
5. https://projectworlds.in/free-projects/php-projects/
6. https://phpgurukul.com/php-projects-free-downloads/
7. https://code-projects.org/c/languages/project/phpprojects/
8. https://www.studentstutorial.com/php/php-introduction

ONLINE Job Portal

You might also like