You are on page 1of 13

Power Point Presentation

on
Topic : PHP

Submitted by :
Himani Kathal
What is PHP?
 PHP is an acronym for "PHP: Hypertext Preprocessor"
 PHP is a script on the server side used for the creation of
Static or Dynamic Web sites or Web applications.
 PHP is a pre-processor for hypertext, which used to stand
for home pages. 
 The software used to build web applications is an open
source, server-side, scripting language.
 PHP can be inserted into HTML.
 PHP scripts are executed on the server
 PHP is free to download and use
What are the uses of PHP?
 PHP can generate dynamic page content.
 PHP can create, open, read, write, delete, and close
files on the server.
 PHP can collect form data.
 PHP can add, delete, modify data in your database.
 PHP can be used to control user-access.
 PHP can encrypt data.
What can PHP do?
 Generate dynamic web pages.
 Collect form data from the web page.

 Send or receive cookies.

 And, anything which any other CGI (Common Gateway

Interface) programming language can do.


There are three main fields where these scripts are used:
Server Side Scripting :
This is the traditional purpose of why it is built &
used, for generating dynamic content. For this, you need
a PHP Parser, a web server, and a web browser.
Command line Scripting :
This is where PHP acts as just any other scripting
language wherein you can run your PHP scripts using
a PHP Parser.
Client-side GUI  :
This is where you can build application software
(with GUIs) using PHP-GTK. It is not the best-fit
language for the purpose though.
What are the characteristics of PHP?

 It is simple and easy to use.


 It is efficient and able to connect the database and
load the application faster.
 It provides more security to the web application with
help of using PHP frameworks.
 It is more familiar for the developers and online
support is being provided for the beginners.
 It shows flexibility and ability to get integrated with
another programming language.
 It is open source and free of cost.
What are the applications based on
PHP?
 Web-based applications and development of web pages
 E-commerce websites and applications.
 Data Analytics and Representation
 Processing of Images.
 Graphical User interface design based applications.
 Developing the features of Flash
 Graphic designing.
 School and college websites.
 Small video games.
What are the advantages of PHP?
 The most important advantage of PHP is that it is
open source and free of cost. It can be downloaded
anywhere and readily available to use for the
development of web applications.
 It is platform independent. PHP based applications
can run on any operating system like UNIX, Linux
and windows, etc.
 The PHP based application can easily be loaded
and connected to the database.
 It helps in managing the code easily.
What are the disadvantages of PHP?
 It is not that secure because of its open-source, as the
source code can be easily available.
 It is not suitable for large content-based web applications.
 It has a weak type, which may lead to incorrect data and
information to the user.
 PHP frameworks need to learn to use the PHP built-in
functionalities to avoid writing additional code.
 PHP do not allow the change or modification in core
behavior of the web applications.
 The PHP frameworks are not the same in behavior so does
their performance and features.
How PHP works?
 Example :
<!DOCTYPE html>
<html>
<body>
<? php
echo “Hello World!”;
?>
</body>
</html>
 Output :
“Hello World!”
 A Php script starts with 
<?php and ends with ?>
 The default file extension for PHP files is ".php".
CODE:
<?php
// PHP code goes here
?>
Thank you…

You might also like