4. PHP is the abbreviation of Hypertext
Preprocessor.
Earlier it was abbreviated as Personal
Home Page.
PHP is the most popular and widely
used server side scripting language for
web development.
5. ? Why PHP is called
Hypertext
Preprocessor?
? What does it mean by
Scripting Language?
6. • PHP is called hypertext preprocessor
because PHP libraries are already
compiled and processed.
• When any person request any PHP page
in browser address bar that request first go
to server.
• For example Apache is running on that
server then server interpret PHP files and
return back response in form of HTML.
7.
8. In simple terms, programming
languages are set of instructions or
code which tells a computer what it
needs to do.
So basically, we provide a logic or
instruction to the computer to perform
some task to get the desired output
from it.
When we need to write a CD or burn a
CD or when we need to paste
something in pen drive these all
instruction is given through some
9. As the name suggest, it’s all about giving the script
to perform some certain task.
Scripting languages are basically the subcategory
of programming languages which is used to give
guidance to another program or we can say to
control another program,
So it also involves instructions. It basically connects
one language to one another languages and
doesn’t work standalone.
Javascript, PHP, Perl, Python, VBScript these all
are the examples of scripting language.
Scripting languages need to be interpreted
(Scanning the code line by line, not like compiler in
one go) instead of compiled.
10. Markup languages are completely different from
programming languages and scripting languages.
Markup languages prepare a structure for the
data or prepare the look or design of a page.
These are presentational languages and it
doesn’t include any kind of logic or algorithm, for
example, HTML.
HTML is not asking any kind of question to the
computer or it’s not comparing things and it’s not
asking any logical question. It’s just used to
represent a view inside a web browser.
11. PHP files can contain text, HTML,
JavaScript code, and PHP code.
PHP code is executed on the server,
and the result is returned to the
browser as plain HTML.
PHP files have a default file
extension of ".PHP"
12.
13.
14. PHP can generate the dynamic page
content.
PHP can create, open, read, write, and close
files on the server.
PHP can collect form data.
PHP can send and receive cookies.
PHP can add, delete, modify data in your
database.
PHP can restrict users to access some
pages on your website.
PHP can encrypt data.
With PHP you are not limited to output
15.
16. PHP is open source and free.
Short learning curve compared to other
languages such as JSP, ASP etc.
Large community document
Most web hosting servers support PHP by
default unlike other languages such as ASP
that need IIS. This makes PHP a cost
effective choice.
PHP is regular updated to keep abreast with
17. PHP has in built support for working hand
in hand with MySQL; this doesn’t mean you
can’t use PHP with other database
management systems. You can still use
PHP with
Postgres
Oracle
MS SQL Server
ODBC etc.
PHP is cross platform; this means you can
deploy your application on a number of
18.
19.
20. PHP or Hypertext Preprocessor was developed
by an employed Danish programmer, Rasmus
Lerdorf out of Toronto in Canada in 1994.
Released to the public in 1995 with the name
Personal Home Page tools.
It was then rewritten in 1996 by Zeev Suraski
and Andi Gutman who launched it as PHP3.
In 2000, PHP4 was released incorporated into
a scripting engine followed by 3 more major-
version and few subversions until the latest
version PHP7.0 was released in 2015.
It gained popularity over the years owing to it
being open source and allowing other
programmers to use the language on their own