SlideShare a Scribd company logo
PHP: Hypertext Preprocessor  Oto Brglez | September 2008 [email_address] http://heapsoft.com http://opalab.com
What is PHP? PHP is a computer  scripting language . Originally designed for producing  dynamic web pages . PHP is program that generally runs on a  web server , taking  PHP code  as its input and creating  web pages  as output. PHP is installed on more than  20 million   websites  and  1 million web servers . PHP can be used  free of charge , because it’s open source project. PHP has syntax similar to C/C++
History of PHP Began in  1994  as a set of  Common Gateway   Interface(CGI)  binaries written in the C programming language by the Danish/Greenlandic programmer  Rasmus Lerdorf . Lerdorf released PHP publicly on  June 8,  1995  to accelerate bug location and improve the code.  (PHP 2) Zeev Suraski  and  Andi Gutmans , two Israeli developers, rewrote the parser in  1997  and formed the base of  PHP 3 , changing the language's name to the recursive initialism  PHP: Hypertext Preprocessor. Suraski and Gutmans then started a new rewrite of PHP's core, producing the  Zend Engine  in  1999 . On  May 22,  2000 ,  PHP 4 , powered by the Zend Engine 1.0, was released . On  July 13,  2004 ,  PHP 5  was released, powered by the new Zend Engine II.  As of  August,  2008  this branch is up to version 4.4.9. PHP 4 is no longer under development nor will any security updates be released. In  2008 ,  PHP 5  became the only stable version under development. PHP 6  is under development alongside PHP 5.
What do i need to “do” PHP? Operating System  (Windows, Linux, OS/X, Solaris…) Web Server  (Apache, IIS…) PHP  (Source, Binary od Package) Database (MySQL, MSSQL, Oracle,…) L  = Linux A  = Apache M  = MySQL P  = PHP
How PHP works? User sends HTTP  request  to Web Server from his Web Browser. Web server  validates request  and parses key parameters. This parameters are then sent to PHP program installed on system. PHP parses .php script  and outputs HTML document. HTML document produced by PHP is then served by the Web Server as  response  to users HTTP request.
What is PHP script? Script is  text document . Script usualy has  .php extension . Script is located on  web server . Scripts can be made from PHP code and HTML code.
How does PHP script look like? <?php $a  =  10 ;  // Komentar ;) $a   = “ Test ”; for ( $i =0;  $i <=10;  $i ++) { print (“ Zdravo svet! <br/> ”); } $imena [] = “ Oto Brglez ”; ?>
Why is PHP sow successful? PHP is realy realy  FAST ! It has simple  syntax It’s  weak  typed No  compiling Open source  code Long  history Modularit y of PHP core Many  developers Realy good  documentation  project (docs.php.net)
How to start with PHP? Go to  www.php.net Read geting started Do a simple tutorial Visit  http://docs.php.net  and explore the documentation provided by PHP comunity Buy a book or read online tutorials
Strange PHP facts You can write desktop applications in PHP using  PHP-GTK  lib. You can run PHP on  Symbyan OS  on  Nokia  (S60) mobile phones. You can run PHP on  Pocket PC  ( Pocket HPH project ). NanoWeb  is web server written in PHP. WinBinder  allows PHP programmers to easily build native Windows applications.  Bambalam  PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications.
My projects… Oto Brglez | September 2008

More Related Content

What's hot (20)

PPTX
PHP presentation - Com 585
jstout007
 
PPTX
PHP in one presentation
Milad Rahimi
 
PPSX
Advanced PHP Web Development Tools in 2015
iScripts
 
PPTX
PHP Classes in Pune
Classboat.com
 
PPTX
PHP
Jawhar Ali
 
PPT
Php hypertext pre-processor
Siddique Ibrahim
 
PPTX
PHP programmimg
Sharbani Bhattacharya
 
PPT
PHP Project PPT
Pankil Agrawal
 
PPT
PHP
ARJUN
 
PPTX
Php intro
sana mateen
 
PPT
PHP LICTURES ..........
Rashid Ahmad
 
PDF
Php & mysql course syllabus
Papitha Velumani
 
PPTX
Training ppt
nikita vijay
 
PPTX
Overview of php
prisense india
 
PPTX
PHP Presentation
Amanda Nardi
 
PPTX
Php & mysqli in urdu
Abdul Wali
 
PPTX
Introduction to PHP
Collaboration Technologies
 
ODP
My self learing -Php
laavanyaD2009
 
PPTX
Introduction to php
Taha Malampatti
 
PHP presentation - Com 585
jstout007
 
PHP in one presentation
Milad Rahimi
 
Advanced PHP Web Development Tools in 2015
iScripts
 
PHP Classes in Pune
Classboat.com
 
Php hypertext pre-processor
Siddique Ibrahim
 
PHP programmimg
Sharbani Bhattacharya
 
PHP Project PPT
Pankil Agrawal
 
PHP
ARJUN
 
Php intro
sana mateen
 
PHP LICTURES ..........
Rashid Ahmad
 
Php & mysql course syllabus
Papitha Velumani
 
Training ppt
nikita vijay
 
Overview of php
prisense india
 
PHP Presentation
Amanda Nardi
 
Php & mysqli in urdu
Abdul Wali
 
Introduction to PHP
Collaboration Technologies
 
My self learing -Php
laavanyaD2009
 
Introduction to php
Taha Malampatti
 

Similar to PHP: Hypertext Preprocessor Introduction (20)

PPT
Php unit i
prakashvs7
 
PPTX
unitI-Introduction to php.pptx
nehasahuji
 
PPT
01 Php Introduction
Geshan Manandhar
 
PDF
Php course with live project training in janakpuri, New Delhi
Baluja Institute of Technology & Management
 
PPT
a brief introduction to PHP and how to use it.
Raihan Mistry
 
PPT
PHP.ppt
ShishirKantSingh1
 
PDF
Integrating PHP With System-i using Web Services
Ivo Jansch
 
PDF
24307183 php
Muhammad Rdiansyah
 
PDF
Web_Development_Using_PHP.pdf
AdityaSingh281706
 
PDF
How PHP works
Atlogys Technical Consulting
 
PDF
Php tutorial
Niit
 
PDF
Php tutorial
vigneswaran54
 
PDF
Php tutorial
sushil kumar
 
PDF
Php tutorial
Nguyễn Hoà
 
PDF
chapter 5 Server-Side Scripting (PHP).pdf
burasyacob012
 
PPTX
Introduction to PHP from Beginning to End
christopherneo4
 
PPT
Programming language
kalasalingam university
 
PDF
t1837
tutorialsruby
 
Php unit i
prakashvs7
 
unitI-Introduction to php.pptx
nehasahuji
 
01 Php Introduction
Geshan Manandhar
 
Php course with live project training in janakpuri, New Delhi
Baluja Institute of Technology & Management
 
a brief introduction to PHP and how to use it.
Raihan Mistry
 
Integrating PHP With System-i using Web Services
Ivo Jansch
 
24307183 php
Muhammad Rdiansyah
 
Web_Development_Using_PHP.pdf
AdityaSingh281706
 
Php tutorial
Niit
 
Php tutorial
vigneswaran54
 
Php tutorial
sushil kumar
 
Php tutorial
Nguyễn Hoà
 
chapter 5 Server-Side Scripting (PHP).pdf
burasyacob012
 
Introduction to PHP from Beginning to End
christopherneo4
 
Programming language
kalasalingam university
 
Ad

More from Oto Brglez (15)

PDF
The Compression Puzzle Challenge
Oto Brglez
 
PDF
Becoming S/W Engineer
Oto Brglez
 
PDF
Akka with Scala
Oto Brglez
 
PPTX
How to over-engineer things and have fun? Building a modern, distributed real...
Oto Brglez
 
PDF
Oto Brglez - Tips for better tests
Oto Brglez
 
PDF
Elasticsearch
Oto Brglez
 
PDF
Kdaj lahko uporabimo piškotke?
Oto Brglez
 
PDF
Continuous integration (CI) v praksi
Oto Brglez
 
PDF
nanob
Oto Brglez
 
PDF
Ruby in prijatelji
Oto Brglez
 
KEY
Ruby in ogrodje Rails
Oto Brglez
 
KEY
Subversion in Redmine implementacija
Oto Brglez
 
PPT
mojakoda.si - predstavitev
Oto Brglez
 
PPT
Šolski Spletni Informacijski Sistem
Oto Brglez
 
PPT
Java Servlet in JSP
Oto Brglez
 
The Compression Puzzle Challenge
Oto Brglez
 
Becoming S/W Engineer
Oto Brglez
 
Akka with Scala
Oto Brglez
 
How to over-engineer things and have fun? Building a modern, distributed real...
Oto Brglez
 
Oto Brglez - Tips for better tests
Oto Brglez
 
Elasticsearch
Oto Brglez
 
Kdaj lahko uporabimo piškotke?
Oto Brglez
 
Continuous integration (CI) v praksi
Oto Brglez
 
nanob
Oto Brglez
 
Ruby in prijatelji
Oto Brglez
 
Ruby in ogrodje Rails
Oto Brglez
 
Subversion in Redmine implementacija
Oto Brglez
 
mojakoda.si - predstavitev
Oto Brglez
 
Šolski Spletni Informacijski Sistem
Oto Brglez
 
Java Servlet in JSP
Oto Brglez
 
Ad

Recently uploaded (20)

PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Python basic programing language for automation
DanialHabibi2
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 

PHP: Hypertext Preprocessor Introduction

  • 1. PHP: Hypertext Preprocessor Oto Brglez | September 2008 [email_address] http://heapsoft.com http://opalab.com
  • 2. What is PHP? PHP is a computer scripting language . Originally designed for producing dynamic web pages . PHP is program that generally runs on a web server , taking PHP code as its input and creating web pages as output. PHP is installed on more than 20 million websites and 1 million web servers . PHP can be used free of charge , because it’s open source project. PHP has syntax similar to C/C++
  • 3. History of PHP Began in 1994 as a set of Common Gateway Interface(CGI) binaries written in the C programming language by the Danish/Greenlandic programmer Rasmus Lerdorf . Lerdorf released PHP publicly on June 8, 1995 to accelerate bug location and improve the code. (PHP 2) Zeev Suraski and Andi Gutmans , two Israeli developers, rewrote the parser in 1997 and formed the base of PHP 3 , changing the language's name to the recursive initialism PHP: Hypertext Preprocessor. Suraski and Gutmans then started a new rewrite of PHP's core, producing the Zend Engine in 1999 . On May 22, 2000 , PHP 4 , powered by the Zend Engine 1.0, was released . On July 13, 2004 , PHP 5 was released, powered by the new Zend Engine II. As of August, 2008 this branch is up to version 4.4.9. PHP 4 is no longer under development nor will any security updates be released. In 2008 , PHP 5 became the only stable version under development. PHP 6 is under development alongside PHP 5.
  • 4. What do i need to “do” PHP? Operating System (Windows, Linux, OS/X, Solaris…) Web Server (Apache, IIS…) PHP (Source, Binary od Package) Database (MySQL, MSSQL, Oracle,…) L = Linux A = Apache M = MySQL P = PHP
  • 5. How PHP works? User sends HTTP request to Web Server from his Web Browser. Web server validates request and parses key parameters. This parameters are then sent to PHP program installed on system. PHP parses .php script and outputs HTML document. HTML document produced by PHP is then served by the Web Server as response to users HTTP request.
  • 6. What is PHP script? Script is text document . Script usualy has .php extension . Script is located on web server . Scripts can be made from PHP code and HTML code.
  • 7. How does PHP script look like? <?php $a = 10 ; // Komentar ;) $a = “ Test ”; for ( $i =0; $i <=10; $i ++) { print (“ Zdravo svet! <br/> ”); } $imena [] = “ Oto Brglez ”; ?>
  • 8. Why is PHP sow successful? PHP is realy realy FAST ! It has simple syntax It’s weak typed No compiling Open source code Long history Modularit y of PHP core Many developers Realy good documentation project (docs.php.net)
  • 9. How to start with PHP? Go to www.php.net Read geting started Do a simple tutorial Visit http://docs.php.net and explore the documentation provided by PHP comunity Buy a book or read online tutorials
  • 10. Strange PHP facts You can write desktop applications in PHP using PHP-GTK lib. You can run PHP on Symbyan OS on Nokia (S60) mobile phones. You can run PHP on Pocket PC ( Pocket HPH project ). NanoWeb is web server written in PHP. WinBinder allows PHP programmers to easily build native Windows applications. Bambalam PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications.
  • 11. My projects… Oto Brglez | September 2008