Professional Documents
Culture Documents
PHP
PHP
WHAT IS PHP ?
PHP(recursive acronym for php: hypertext
preprocessor) is a widely-used open source
general-purpose scripting language that is
especially suited for WEB DEVELOPMENT
and can be EMBEDDED with HTML.
For eg:
<!DOCTYPE html> OUTPUT : ” Hi , I’m a PHP script !”
<html>
<head>
<title>Example</title>
</head>
<body>
<?php
echo "Hi, I'm a PHP script !”;
?>
</body>
</html>
Insteadof lots of commands to output HTML , PHP
pages contain HTML with embedded code that does
“something”.
The PHP code is enclosed in special start and end
processing instructions <?php and ?> that allow you to
jump into and out of “PHP MODE “.
Although PHP’s development is focused on server –side
scripting , you can do much more with it.
WHAT CAN PHP DO?
ANYTHING.PHP is mainly focused on server-side
scripting , so you can do , such as collect form data
, generate dynamic page content, or send and
receive cookies .But PHP can do much more.
• There are three main areas PHP scripts are used:
Server-side scripting . This is the most traditional and main target field for php .
You need three things to make this work; the php parser , a web server and web
browser which is connected php installation . You can access the php program
output with a web browser , viewing the php page through the server.
Command line scripting . Php script can run without any server or browser the
thing which is need is php parser . This type of usage is ideal for scripts
regularly executed using icons or task scheduler .
Writing desktop applications . Php is not very best language to create a desktop
application with a graphical user interface . Php – gtk is an extension to php not
available in the main distribution .
FEATURES
PHP can be used on all major operating systems , including Linux , many Unix variants ,
Microsoft Windows , macOS , RISC OS , and probably others .
One of the strongest and most significant features in php is its support for a wide range of
databases .
Php has useful text processing features , which includes the Perl compatible regular
expressions and many extensions and tools to parse and access XML documents .
With php , you have the freedom of choosing an OPERATING SYSTEM and a WEB SERVER
. We also have choice of using procedural programming or object oriented programming or a
mixture of both .
Php includes outputting images , PDF files and even flash movies generated on the fly .
Php also has support for talking to other services protocols such as LDAP , IMAP , SNMP ,
NNTP , POP3 , HTTP , COMand countless others .
Php has support for the WDDX complex data exchange between virtually all web
programming languages talking about interconnection .
THANK YOU !
BY:
YASH CHAUHAN
PRUTHAVI
BAROT
53003190004
53003190003 BIBLIOGRAPHY:
https://www.php.net>manual>intro-whatis