www.aryansexport.com

Download Report

Transcript www.aryansexport.com

A MINOR PROJECT
ONONLINE CINEMA
BOOKING
2008-2009 PRESENTED BY :Adarsh Saxena
Bhoopesh Kr. Gaur
4th YEAR
IT Engineering
www.powerpointpresentationon.blogspot.com
Contents
• Company Profile
• HTML
• CSS
• JavaScript
• PHP
• MySQL
• Project Overview
COMPANY PROFILE.
• Fast growing premier organization
• Dedicated to open source technology
• Provide “The global standard Linux certification” in
• RHCE, RHCSS, System and Network Administration, Server
•
.
Administration, SElinux , Firewall security, programming wit QT,
Perl, Python, php, mysql, etc.
REDHAT rewarded Linux World as “The Most Promising Partner
2007”
COMPANY PROFILE
• High Quality training services to the organization like
Alcatel-lucent, Reliance Communication,IndiaBulls
,CPwebhosting ,Metacube,Datainfosys etc.
• Technical support to IT company like NDCL,
Cpwebhosting, Hulasi Pvt. Ltd., CTPL etc.
• Training offices at Jaipur, Dehli Bhopal, Kanpur,
Indore, Lucknow and more..
HTML
• Hyper Text Markup Language
• Developed by Tim Berners lee in 1990.
• An extended version of SGML.
• Easy to use ,Easy to learn
• Markup tags tell the browser how to display the
page.
• A HTML file must have an extension .htm or.html.
Cont…..
• HTML tags are surrounded by “<“ and “>” (angular
•
•
•
•
brackets).
Tags normally come in pairs like <H1> and </H1>.
Tags are not case sensitive i.e. <p> is same as
<P>.
The first tag in a pair is the start tag, the second
tag is the end tag.
Empty tags & non-empty tags.
Cont…
CSS
• Cascading Style Sheets.
• Styles define how to display HTML elements.
• Multiple style definitions will cascade into one.
• Inline css
<p style="color:#ff00ff"> (pink)
Conti..
• Embedded css
<head>
<style type="text/css">
h1{color:rgb(123,0,231);}
p{color:rgb(100,200,0);}
h2{color:rgb(10,200,0);}
h6{color:rgb(10,200,0);}
</style>
</head>
CSS
• External css
h1{color:rgb(100,100,0);}
p{ color:rgb(123,0,221);}
#a{ border=2px solid color:#00fff0; backgroundcolor:rgb(254,0,253)}
• Link of Exeternal css
<head>
<link rel="stylesheet" type="text/css" href="theme1.css"/>
</head>
Must have as .css extension.
•
JavaScript
• JavaScript ≠ Java
• Developed by Netscape
• Purpose: to Create Dynamic websites
• Starts with < script type=“text/java script”> and
ends with < /script>.
• Easy to learn , easy to use.
• More powerful,loosely typed
Cont…
• Conversion automatically
• Used to customize web pages.
• Make pages more dynamic.
• To validate CGI forms.
• It’s limited (can not develpe standalone aplli.)
• Widely Used
About PHP
• PHP (Hypertext Preprocessor),
• Simple and powerful SSSL
• Dynamic web pages.
• It’s like ASP.
• PHP scripts are executed on the server .
• PHP files have a file extension of ".php", ".php3", or
".phtml".
History of PHP
• PHP , Rasmus lerdorf in 1995
• PHP/FI (PHP 2) (Personal Home Page/ Forms
•
•
•
Interpreter),1997.
PHP 3,(PHP :Hyphertext Preprocessor) Andi
Gutmans and Zeev Suraski, API,1998
PHP 4, 2000,compile first, execute lator(Zend
engine)
PHP 5, 2004 (object oriented features).
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
resource: www.php.net
• PHP is easy to learn and runs efficiently on the
server side
Cont…
• A PHP scripting block always starts with <?php
•
•
•
and ends with ?>.
Can be placed any where within a document.
We can start a scripting block with <? and end
with ?> on servers that provide shorthand
support.
It is advised to use standard tags for best outputs.
Structure of PHP Programe
<html>
<body>
<?php
echo “hi friends…..";
?>
</body>
</html>
What can PHP do
• Server-side scripting (collect form data,
generate dynamic page content,
send&receive cookies).
• Command line script (can run from cmd line &
used for backup & logparsing).
• Create a desktop application with a
graphical user interface (PHP-GTK, an
extension of PHP).
Features of PHP…
• Speed
• Full database Support
• Open source and free to download and use.
• Cross platform
• Easy for newcomer and advance features
MySQL
• MySQL is the most popular open source database
•
•
server.
A database defines a structure for storing
information.
With MySQL, we can query a database for specific
information and have a recordset returned.
Cont…
•
•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
PHP combined with MySQL are cross-platform
(means that you can develop in Windows and
serve on a Unix platform)
Connectivity to MySQL
• In PHP, connection is established using
the mysql_connect() function.
Syntax
mysql_connect(servername,username,password);
ex <?php
$con = mysql_connect("localhost",“root",“ ");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
// some code
?>
•
Closing A Connection
• The connection is closed as soon as the
script ends. To close the connection use
the mysql_close() function.
ex. <?php
$con = mysql_connect("localhost",“root","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
// some code
mysql_close($con);
?>
Project Configuration
WAMP Server
•W :- Windows XP/Vista
•A :- Apache version 2.2.6
•M :- MySQL version 5.0.45
•P :- PHP version 5.2.5
About the Project
•Easy way to booking tickets.
•Time saving process.
•Login your account & booking your ticket or
direct booking.
•Sure info about ticket.
HOME Page
Registration Page
Cont…
Info in table form
Table
Content in table
Information Page
Booking Page
Cont…
Cont…
Cont…
Cinema
Cont…
Contact page