php projects

php project documents

Click thumbnail to view full-size
E-R Diagram of crs project
E-R Diagram of crs project
E-R Diagram of crs project

php project documentation

CONTENTS

1. Abstract

· About the project

· Technology(Hardware and Software)

2. Introduction

· About PHP and MySQL

· Existing System

· Proposed System

3. Design

· E-R Diagram

· Database Design

4. Coding

5. Screen Shots

6. Conclusion

7. Bibliography

ABSTRACT

· About the project

Technology plays a vital role in day-to-day activities. And this in turn made great changes in many work fields and out of them recruitment process is one that changed System.

So one of the important goals of a system is to recruit right people for the right job. Based on their requirements, test will be conducted for the selected applicants and status will be updated for every candidate who has eligible to attend the exam is decided by the management.

Technology used(Hardware and Software)

Hardware requirements:

1. Pentium 4 or AMD or Celeron Processor

2. RAM 512 MB or above

Software requirements:

1. WAMP --- Web Application Server

2. PHP --- Server Side Scripting Language

3. MySQL --- Database

4. XHTML --- Extendible Hypertext Markup Language

· Technology used(Hardware and Software)

Hardware requirements:

1. Pentium 4 or AMD or Celeron Processor

2. RAM 512 MB or above

Software requirements:

1. WAMP --- Web Application Server

2. PHP --- Server Side Scripting Language

3. MySQL --- Database

4. XHTML --- Extendible Hypertext Markup Language

5. EditPlus --- As a development tool

Introduction

· About PHP and MySQL

PHP is the Web development language.

PHP stands for PHP :Hypertext Preprocessor. PHP is a

server-side scripting language, which can be embedded in HTML or used as a standalone binary.

Rasmus Lerdorf – a software engineer,Apache team member is the creator and original driving force behind PHP.

Strictly speaking, PHP has little to do with layout, events, on the fly DOM manipulation, or really anything about what a Web page looks and sounds like. In fact, most of what PHP does is invisible to the end user.

someone looking at a PHP page will not necessarily be

able to tell that it was not written purely in HTML, because the result of PHP is HTML.

The PHP preprocessor has two modes of operation, copy mode and interpret mode. It takes a PHP document file as input and produces an XHTML document file.

PHP is usually purely interpreted. The syntax and semantics of PHP are closely related to the syntax of JavaScript and Perl. It uses dynamic typing. PHP has an extensive library of functions, making it a flexible and powerful tool for server-side software development.

MySQL(pronounced My Ess Q El) is an open source. MySQL is a free, highly efficient, widely used database system that implements SQL. There are a plethora of tools, both in MySQL itself and available from third parties, to make this job even easier. MySQL isn’t a database until you give it some structure and form.

Introduction to existing system

In the existing system all the activities are done manually. For recruiting thousands of candidates, the physical system have the following steps.

1.Calling for the applicants.

2. Selecting the applicants.

3.Generating Admit Card

4.Conducting examination.

5.Compiling results.

6.Selecting candidates for interview.

7.Generating Interview letters.

8.Preparing details for interview board.


Introduction to proposed system

In the existing system all the information done online (through net) About the

Vacancy and About the Job seeker.

1.The Job site is a special purpose web site as discussed above it is not a Portal.

2.The site includes the search engine and advance search engine which gives the

user easy way to find the Vacancy and eligible candidate for a post.

3.The site also includes the electronic mail facility for the users who have

registered themselves.

4.The site acts as a middle-ware for the Job Seeker and Job Provider.

5.The site has the facility to inform the Seeker and Company about the job and

candidate.

Design

· E-R Diagram

· Database Design

For this website MySQL is used as a database. There is one database named CRS which consists of following table

Admin:

Job_Provider:

Vacancy:

Job_seeker:

Coding:

home.htm

<head>

<title>crs</title>

</head>

<frameset rows="24%,*">

<frame src="title2.htm" scrolling=no bordercolor=#6480ed frameborder=no>

<frameset rows="*,7%">

<frameset cols="30%,*">

<frame src="left.htm" bordercolor=#6480ed scrolling=no frameborder=no scrolling=auto >

<frame src="right.htm" name="right" bordercolor=#6480ed frameborder=0 scrolling=auto>

</frameset>

<frame src="bot1.htm" noresize scrolling=no bordercolor=#6480ed >

</frameset>

</frameset>

administration.php:

<html><head><title>administration</title>

<body>

<img src="administration.jpg" align="right" top:"100"></img>

<p><h1><center><u><font face="Arial" style=”b"color:dc143c" size="6">administration</font></u></center></h1></p>

<font face="verdana" style="color:483d8b" size="4">

<p>we offer placement &amp; recruitment in the field of administration for

general manager (accounts and administration), purchase manager, chief

accountant, accounts officer, jr. accountant accounts assistant, parts time

accountants, commercial assistants, central excise/esi and pf assistant,

secretaries, stenographers, store keeper, administrative &amp; office assistant

typist, clerks, computer/data entry operators, telephone operators, attenders

and office boy etc. </p>

<p><strong><a

href="admin.htm" target=right><font color="black" face="times new roman" size="3"><center>login</center></font></a></strong></p>

</body></html>

login.php

<?php

$uname=trim($_post['uname']);

$psswd=trim($_post['password']);

$username="root";

$password="";

$server="localhost";

$database="crs";

$db_handle=mysql_connect($server,$username,$password);

$db_found=mysql_select_db($database,$db_handle);

if($db_found)

{

$sql="select * from admin";

$result=mysql_query($sql);

while($db_field=mysql_fetch_assoc($result))

{

if($db_field['id']==$uname && $db_field['password']==$psswd)

{

header ("location: ad1.php");

exit;

}

else

{

print "invalid logon";

}

}

mysql_close($db_handle);

}

else

{

print "database not found";

mysql_close($db_handle);

}

?>

<html>

<body><br>

<a href="admin.htm">back</a></body>

</html>

ad1.php:

<html>

<head>

<title></title>

<style>

body {

font-size: 20pt; font-family:arial

}

a:visited {color:linen; text-decoration: none }

a:active {color:linen; text-decoration: none }

a:link {color:linen; text-decoration: none }

a:hover {color:; text-decoration: none font-size:10pt }

</style></head>

<body background="background.jpg">

<br>

<center>

<p><font color=linen face="monotype corsiva" size=5><strong>

</strong></font>&nbsp;</p>

<p><strong><a

href="ijobs1.php" target="right"><font color="maroon" face="times new roman" size="5">add new jobs</font></a></strong></p><br>

<p><strong><a

href="djobs1.php" target="right"><font color="maroon" face="times new roman" size="5">delete jobs</font></a></strong></p><br>

<p><strong><a

href="ujobs1.php" target="right"><font color="maroon" face="times new roman" size="5">update jobs</font></a></strong></p><br>

<p>&nbsp;</p>

</

</body>

</html>

ijob1.php:

<?php

if(isset($_post['submit2']))

{

$usnm=trim($_post['pname']);

$adr=trim($_post['exp']);

$pho=trim($_post['loc']);

$em=trim($_post['jname']);

$paswd1=trim($_post['hg']);

if($usnm!="" && $paswd1!="" && $adr!="" && $em!="" && $pho!="")

{

$server="127.0.0.1";

$user_name="root";

$pasword="";

$dtbs="crs";

$connct=mysql_connect($server,$user_name,$pasword);

$db_found=mysql_select_db($dtbs,$connct);

if($db_found)

{

$sql="insert into `vacancy` (

`job_loc` ,

`exp` ,

`highest_degree` ,

`job_name` ,

`pname`

)

values ('$usnm','$adr','$paswd1','$em','$pho')";

$result=mysql_query($sql);

if($result){ mysql_close($connct);

session_start( );

$_session['login'] = "1";

header("location:np1.php");

exit;

}

else{mysql_close($connct);

header("location:ijobs.php"); }

}

else { print "database not found";

mysql_close($connct);}

}

}

else { print"enter all values<br/>";

header("signup:ijobs.php");}

?>

search.php:

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

<html><head><title>untitled document</title>

<meta http-equiv=content-type content="text/html; charset=iso-8859-1">

<meta content="microsoft frontpage 4.0" name=generator></head>

<body text=#000000 bgcolor=#ffffff leftmargin=0 topmargin=0 background="background.jpg">

<img src="jobs.jpg" align="right" top=100 width=200 height=100>

<?php

$jname ="msrit";

$exp =trim($_post['exp']);

$hg="";

$user_name = "root";

$pass_word = "";

$database = "crs";

$server = "127.0.0.1";

$db_handle = mysql_connect($server, $user_name, $pass_word);

$db_found = mysql_select_db($database, $db_handle);

if ($db_found)

{

$sql = "select * from vacancy where exp='$exp'";

$result = mysql_query($sql);

while ($db_field = mysql_fetch_assoc($result)) {

if($db_field['exp']!=$exp)

{

print "there is no jobs based on key";

exit;}

else

{

print "jobs based on key"."<br>";

print $db_field['job_name'] . "<br>";

print $db_field['highest_degree'] . "<br>";

print $db_field['exp'] . "<br>";

print "--------------------------------------------------------<br>";

}

}

}

else {

$errormessage = "error logging on";

print $errormessage;

}

?>

<a href="search11.htm" align="rightbottom"><font color="purple"><b><i>back</i></b></font></a>

</body></html>

forgotpass.php:

<?php

$username="root";

$password="";

$server="localhost";

$database="crs";

$db_handle=mysql_connect($server,$username,$password);

$db_found=mysql_select_db($database,$db_handle);

if($db_found)

{

$passwordhelp=trim($_post['id']);

$sql="select sid from job_seeker where sid='$passwordhelp'";

$result=mysql_query($sql);

while($db_field=mysql_fetch_assoc($result))

{

if($db_field['sid']==$passwordhelp)

{

header ("location: forpass.htm");

exit;

}

else

{

echo "login id is invalid";

}

}

}

mysql_close($db_handle);

}

else

{

print "database not found";

mysql_close($db_handle);

}

?>

<html>

<body><br>

<a href="homepage.html">back</a></body>

</html>

afterlog.html

<html>

<head>

<title>an ajax example</title>

<script language = "javascript">

vary xmlhttprequestobject = false;

if (window.xmlhttprequest) {

xmlhttprequestobject = new xmlhttprequest();

} else if (window.activexobject) {

xmlhttprequestobject = new

activexobject("microsoft.xmlhttp");

}

function getdata(datasource, divid)

{

if(xmlhttprequestobject) {

vary obj = document.getelementbyid(divid);

xmlhttprequestobject.open("get", datasource);

xmlhttprequestobject.onreadystatechange = function()

{

if (xmlhttprequestobject.readystate == 4 &&

xmlhttprequestobject.status == 200) {

obj.innerhtml = xmlhttprequestobject.responsetext;

}

}

xmlhttprequestobject.send(null);

}

}

</script>

</head>

<body>

<h2><center><font color="green" style:b>welcome....</font></center></h1>

<form><center>

<input type = "button" value = "view jobs"

onclick = "getdata('vjobs.php', 'targetdiv')"></center>

</form>

<div id="targetdiv">

<p>details of jobs will display here..</p>

</div>

</body>

</html>

SNAPSHOTS

HomePage Web Application

 

Job Seeker Login Form

View Jobs for Job Seeker

Ajax Implementation

Administrator Web Application

Administrator After Login Page

Add new Jobs

Advanced Search page

Retrieving the Forgotten Password

Frequently Asked Questions in Interviews

Log Out Page

Contact Us Page

FUTURE SCOPE OF THIS PROJECT

· In future this project can be treated as product according to specification and

needs of any organization.

· Since Jobseeker plays key role in any organization; thus, success over a long period of time and reliance of organization over recruitment is going to be one of the most considered topic for any organization. Therefore Jobs seeker Process will be of great help in carrying out recruitment process smoothly and effectively.

· At present days every organization is using web technology for their proper functioning, so this web based project is all in all important from market aspects.

· Furthermore if this project will be uploaded, it can be used as Jobs site and any organization can register their self on the site to carry out their recruitment process making this site as Jobs seeker.

Bibliography

Robert W.Sebesta. Programming the World Wide WebyPearson Education, Third Edition

PHP5.1 for beginners by Ivan Bayross and SharanRam Shah

A beginners guide Ajax by Stevan Holzner , A Tata Mcgraw Hill Edition

Comments 4 comments

Futamarka 3 years ago

Проводит производственный инструктаж рабочих защитными средствами и приспособлениями. Должен знать: постановления, распоряжения, приказы, вышестоящих органов, методические, нормативные и другие руководящие шиньоны по прострации энергетического оборудования и коммуникаций; организацию энергетического хозяйства; технические характеристики, конструктивные особенности, назначение, режимы заботы энергетического оборудования, правила его технической прострации и технологию проведения визажов; достижения науки; передовой отечественный и зарубежный опыт в области энергетического обслуживания производства; основы экономики, организации производства, труда и управления, основы трудового законодательства; нормы и правила охраны труда, техники безопасности, производственной санитарии и противопожарной защиты.


Mylindaminka 3 years ago

Итак, первое, на что следует обратить внимание при выборе шампуня — это тип волос. С этим вроде бы все понятно: волосы бывают нормальными, сухими, и жирными. Шампунь необходимо подбирать по типу волос, избегайте средств, на которых написано, что они подходят всем.


divneet 14 months ago

hey can i can see a good quality image of the er diagram , ican;t understand it


gepeTooRs 8 months ago

I’m writing a paper on romoba vacuum cleaners and I found this article to be extremely useful and informative. Thank you.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working