Professional Documents
Culture Documents
341101211
341101211
INTRODUCTION TO PHP
• Open-source
• Easy to use ( C-like and Perl-like
syntax)
• Stable and fast
• Multiplatform
• Many databases support
• Many common built-in libraries
• Pre-installed in Linux
distributions
HOW PHP GENERATES HTML/JS WEB
PAGES
Client
Browser
1 4 PHP
3 module
Apache
2
HELLO WORLD! (WEB ORIENTED)
<html>
<head>
<title>My personal Hello World! PHP script</title>
</head>
PHP tag, allow to insert PHP code.
<body>
Interpretation by PHP module will
<? substitute the code with code output
echo “Hello World!”;
?>
</html>
REFRANCE
https://en.wikipedia.org/wiki/PHP •
https://www.guru99.com/what-is-php-first-php-program.html •