SlideShare a Scribd company logo
4
PHP - Introduction
• PHP stands for PHP: Hypertext Preprocessor.
• Developed by Rasmus Lerdorf in 1994
• It is a powerful server-side scripting language for
creating dynamic and interactive websites.

• It is an open source software, which is widely used and
free to download and use.

• It is an efficient alternative to competitors such as
Microsoft's ASP.
Most read
12
What you need to get started with PHP







Before you can write and test your PHP scripts,
there's one thing you'll need - a server!
Fortunately, you don't need to go out and buy
one.
In fact, you won't be spending any extra money.
That's why PHP is so popular! But because PHP is
a server-sided scripting language, you either have
to get some web space with a hosting company
that supports PHP, or make your computer affect
that it has a server installed.
This is because PHP is not run on your PC - it's
executed on the server. The results are then sent
back to the client PC (your computer).
Most read
20
Php   hypertext pre-processor
Most read
PHP - Hypertext Pre-processor
Scripting Language for Web Development
PHP is probably the most popular scripting
language on the web. It is used to enhance
web pages.
 Using PHP, you can do things like create
username and password login pages, check
details from a form, create forums, picture
galleries, surveys, and a whole lot more.

Script:


A “script” is a collection of program or sequence of
instructions that is interpreted or processed out by

another program rather than by the computer processor.




Client-side
Server-side

In server-side scripting, (such as PHP, ASP) the script is
processed by the server Like: Apache, ColdFusion, ISAPI and
Microsoft's IIS on Windows, JSP, PHP,PERL, Tcl and Python.



Client-side scripting such as JavaScript runs on the
web browser.
PHP - Introduction
• PHP stands for PHP: Hypertext Preprocessor.
• Developed by Rasmus Lerdorf in 1994
• It is a powerful server-side scripting language for
creating dynamic and interactive websites.

• It is an open source software, which is widely used and
free to download and use.

• It is an efficient alternative to competitors such as
Microsoft's ASP.
What is PHP?


Used to generate dynamic web-pages.



PHP scripts reside between reserved PHP tags


This allows the programmer to embed PHP scripts
within HTML pages



Personal Home Pages(Old Definition)



An alternative explanation is that the initials come
from the earliest version of the program, which was
called Personal Home Page Tools
What is PHP (cont’d)


Interpreted language, scripts are parsed at run-time
rather than compiled beforehand



Executed on the server-side



Source-code not visible for client


‘View Source’ in browsers does not display the
PHP code



Various built-in functions allow for fast development
What does PHP code look like?


Structurally similar to C/C++



Supports procedural and object-oriented
paradigm (to some degree)



All PHP statements end with a semi-colon



Each PHP script must be enclosed in the reserved
PHP tag
<?php
…
?>
Introduction to PHP


PHP is perfectly suited for Web development and can be
embedded directly into the HTML code.



PHP is often used together with Apache (web server) on
various operating systems. It can be used with Microsoft's
IIS on Windows.



PHP supports many databases (MySQL, Informix, Oracle,
Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
Introduction to PHP
What is a PHP File?
• PHP files have a file extension of
".php", ".php3", or ".phtml"
• PHP files can contain text, HTML tags and
scripts
• PHP files are returned to the browser as
plain HTML
Introduction to PHP
What you need to develop PHP
Application:
 Install Apache (or IIS) on your own
server, install PHP, and MySQL
OR
 Install

Wampserver2 (a bundle of
PHP, Apache, and MySql server) on your
own server/machine
Benefits of PHP


PHP is an open source software & costs nothing, it is free to
download and use.



PHP is a server-side scripting language and is used for websites
and web

applications.


PHP scripts are executed on the server.



PHP supports a wide range of databases.



PHP runs on various platforms like Linux, Windows, Unix etc.



PHP supports most web servers (for example Apache, IIS).



PHP converses with several network protocols.
What you need to get started with PHP







Before you can write and test your PHP scripts,
there's one thing you'll need - a server!
Fortunately, you don't need to go out and buy
one.
In fact, you won't be spending any extra money.
That's why PHP is so popular! But because PHP is
a server-sided scripting language, you either have
to get some web space with a hosting company
that supports PHP, or make your computer affect
that it has a server installed.
This is because PHP is not run on your PC - it's
executed on the server. The results are then sent
back to the client PC (your computer).
Contd.,
We're going to be using some software
called Wampserver.
 This allows you to test your PHP scripts on
your own computer.
 It installs everything you need, if you have
a Windows PC. We'll explain how to get it
installed in a moment, and where to get it
from.

Benefits of PHP


PHP is an open source software & costs nothing, it is free to
download and use.



PHP is a server-side scripting language and is used for websites
and web

applications.


PHP scripts are executed on the server.



PHP supports a wide range of databases.



PHP runs on various platforms like Linux, Windows, Unix etc.



PHP supports most web servers (for example Apache, IIS).



PHP converses with several network protocols.
How PHP is Processed


When a PHP document is requested of a server, the server will
send the document first to a PHP processor



Two modes of operation


Copy mode in which plain HTML is copied to the output



Interpret mode in which PHP code is interpreted and the

output from that code sent to output


The client never sees PHP code, only the output produced by
the code
Php   hypertext pre-processor
Php   hypertext pre-processor
Php   hypertext pre-processor
Php   hypertext pre-processor
Php   hypertext pre-processor
Php   hypertext pre-processor
Php   hypertext pre-processor
Php   hypertext pre-processor

More Related Content

What's hot (20)

Introduction to php
Introduction to phpIntroduction to php
Introduction to php
shanmukhareddy dasi
 
Tokens in C++
Tokens in C++Tokens in C++
Tokens in C++
Mahender Boda
 
Ajax ppt
Ajax pptAjax ppt
Ajax ppt
OECLIB Odisha Electronics Control Library
 
Php basics
Php basicsPhp basics
Php basics
Jamshid Hashimi
 
Express js
Express jsExpress js
Express js
Manav Prasad
 
php
phpphp
php
ajeetjhajharia
 
Web server
Web serverWeb server
Web server
Nirav Daraniya
 
Internet Domains
Internet DomainsInternet Domains
Internet Domains
adil raja
 
Shell programming
Shell programmingShell programming
Shell programming
Moayad Moawiah
 
Ajax presentation
Ajax presentationAjax presentation
Ajax presentation
Bharat_Kumawat
 
Web application architecture
Web application architectureWeb application architecture
Web application architecture
Tejaswini Deshpande
 
Php Presentation
Php PresentationPhp Presentation
Php Presentation
Manish Bothra
 
Php array
Php arrayPhp array
Php array
Nikul Shah
 
RESTful API In Node Js using Express
RESTful API In Node Js using Express RESTful API In Node Js using Express
RESTful API In Node Js using Express
Jeetendra singh
 
Chap 4 PHP.pdf
Chap 4 PHP.pdfChap 4 PHP.pdf
Chap 4 PHP.pdf
HASENSEID
 
Java Servlets
Java ServletsJava Servlets
Java Servlets
BG Java EE Course
 
Files in php
Files in phpFiles in php
Files in php
sana mateen
 
Web technology
Web technologyWeb technology
Web technology
Selvin Josy Bai Somu
 
Introduction to ajax
Introduction  to  ajaxIntroduction  to  ajax
Introduction to ajax
Pihu Goel
 
basic of desicion control statement in python
basic of  desicion control statement in pythonbasic of  desicion control statement in python
basic of desicion control statement in python
nitamhaske
 

Viewers also liked (20)

Php tutorial
Php tutorialPhp tutorial
Php tutorial
S Bharadwaj
 
Advantages of Choosing PHP Web Development
Advantages of Choosing PHP Web DevelopmentAdvantages of Choosing PHP Web Development
Advantages of Choosing PHP Web Development
Grey Matter India Technologies PVT LTD
 
Virtualization Concepts
Virtualization ConceptsVirtualization Concepts
Virtualization Concepts
Siddique Ibrahim
 
Shubham ppt on ospf and framerelay
Shubham ppt on ospf and framerelayShubham ppt on ospf and framerelay
Shubham ppt on ospf and framerelay
shubham katiyar
 
Basic networking
Basic networkingBasic networking
Basic networking
Siddique Ibrahim
 
Link state protocols.ppt
Link state protocols.pptLink state protocols.ppt
Link state protocols.ppt
Edgardo Scrimaglia
 
PHP variables
PHP  variablesPHP  variables
PHP variables
Siddique Ibrahim
 
Ether channel fundamentals
Ether channel fundamentalsEther channel fundamentals
Ether channel fundamentals
Edgardo Scrimaglia
 
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Vishal Sharma, Ph.D.
 
CCNP Route - OSPF
CCNP Route - OSPFCCNP Route - OSPF
CCNP Route - OSPF
mdyabi
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
MohanKumar Palanichamy
 
Central processor amd memory
Central processor amd memoryCentral processor amd memory
Central processor amd memory
Oscar Becwarika
 
IPSec VPN Basics
IPSec VPN BasicsIPSec VPN Basics
IPSec VPN Basics
Martin Bratina
 
Eigrp.ppt
Eigrp.pptEigrp.ppt
Eigrp.ppt
Edgardo Scrimaglia
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
Kashif Latif
 
OSPF Basics
OSPF BasicsOSPF Basics
OSPF Basics
Martin Bratina
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
Aung Thu Rha Hein
 
Routing
RoutingRouting
Routing
Amit Pandey
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
Edgardo Scrimaglia
 
Ipv4 ppt
Ipv4 pptIpv4 ppt
Ipv4 ppt
Sonal Chandel
 
Ad

Similar to Php hypertext pre-processor (20)

Php unit i
Php unit i Php unit i
Php unit i
prakashvs7
 
PHP LICTURES ..........
PHP LICTURES ..........PHP LICTURES ..........
PHP LICTURES ..........
Rashid Ahmad
 
Php ppt
Php pptPhp ppt
Php ppt
Sasi Kumar
 
PHP Basics
PHP BasicsPHP Basics
PHP Basics
Sasi Kumar
 
PHP
PHPPHP
PHP
Momentum Design Lab
 
Word press
Word pressWord press
Word press
Brian Lucas
 
Introduction of PHP And MySql presentation
Introduction of PHP And MySql presentationIntroduction of PHP And MySql presentation
Introduction of PHP And MySql presentation
FahimShaikh53
 
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoilec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
PedakotaPavankumar
 
Training ppt
Training pptTraining ppt
Training ppt
nikita vijay
 
unitI-Introduction to php.pptx
unitI-Introduction to php.pptxunitI-Introduction to php.pptx
unitI-Introduction to php.pptx
nehasahuji
 
Introduction to PHP from Beginning to End
Introduction to PHP from Beginning to EndIntroduction to PHP from Beginning to End
Introduction to PHP from Beginning to End
christopherneo4
 
PHP.ppt
PHP.pptPHP.ppt
PHP.ppt
ShishirKantSingh1
 
a brief introduction to PHP and how to use it.
a brief introduction to PHP and how to use it.a brief introduction to PHP and how to use it.
a brief introduction to PHP and how to use it.
Raihan Mistry
 
Php verses .net
Php verses .netPhp verses .net
Php verses .net
CBitss Technologies
 
Function of PHP in Website Development
Function of PHP in Website DevelopmentFunction of PHP in Website Development
Function of PHP in Website Development
EffOne_Technologies
 
PHP Training In Chandigarh.docx
PHP Training In Chandigarh.docxPHP Training In Chandigarh.docx
PHP Training In Chandigarh.docx
Excellence Academy
 
Php
PhpPhp
Php
MallikharjunaReddySa
 
PHP: Hypertext Preprocessor Introduction
PHP: Hypertext Preprocessor IntroductionPHP: Hypertext Preprocessor Introduction
PHP: Hypertext Preprocessor Introduction
Oto Brglez
 
PHP presentation
PHP presentationPHP presentation
PHP presentation
Helen Pitlick
 
Php presentation
Php presentationPhp presentation
Php presentation
Helen Pitlick
 
Ad

More from Siddique Ibrahim (20)

List in Python
List in PythonList in Python
List in Python
Siddique Ibrahim
 
Python Control structures
Python Control structuresPython Control structures
Python Control structures
Siddique Ibrahim
 
Python programming introduction
Python programming introductionPython programming introduction
Python programming introduction
Siddique Ibrahim
 
Data mining basic fundamentals
Data mining basic fundamentalsData mining basic fundamentals
Data mining basic fundamentals
Siddique Ibrahim
 
Networking devices(siddique)
Networking devices(siddique)Networking devices(siddique)
Networking devices(siddique)
Siddique Ibrahim
 
Osi model 7 Layers
Osi model 7 LayersOsi model 7 Layers
Osi model 7 Layers
Siddique Ibrahim
 
Mysql grand
Mysql grandMysql grand
Mysql grand
Siddique Ibrahim
 
Getting started into mySQL
Getting started into mySQLGetting started into mySQL
Getting started into mySQL
Siddique Ibrahim
 
pipelining
pipeliningpipelining
pipelining
Siddique Ibrahim
 
Micro programmed control
Micro programmed controlMicro programmed control
Micro programmed control
Siddique Ibrahim
 
Hardwired control
Hardwired controlHardwired control
Hardwired control
Siddique Ibrahim
 
interface
interfaceinterface
interface
Siddique Ibrahim
 
Interrupt
InterruptInterrupt
Interrupt
Siddique Ibrahim
 
Interrupt
InterruptInterrupt
Interrupt
Siddique Ibrahim
 
DMA
DMADMA
DMA
Siddique Ibrahim
 
Io devies
Io deviesIo devies
Io devies
Siddique Ibrahim
 
Stack & queue
Stack & queueStack & queue
Stack & queue
Siddique Ibrahim
 
Metadata in data warehouse
Metadata in data warehouseMetadata in data warehouse
Metadata in data warehouse
Siddique Ibrahim
 
Data extraction, transformation, and loading
Data extraction, transformation, and loadingData extraction, transformation, and loading
Data extraction, transformation, and loading
Siddique Ibrahim
 
Aggregate fact tables
Aggregate fact tablesAggregate fact tables
Aggregate fact tables
Siddique Ibrahim
 

Recently uploaded (20)

“Solving Tomorrow’s AI Problems Today with Cadence’s Newest Processor,” a Pre...
“Solving Tomorrow’s AI Problems Today with Cadence’s Newest Processor,” a Pre...“Solving Tomorrow’s AI Problems Today with Cadence’s Newest Processor,” a Pre...
“Solving Tomorrow’s AI Problems Today with Cadence’s Newest Processor,” a Pre...
Edge AI and Vision Alliance
 
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
Edge AI and Vision Alliance
 
PyData - Graph Theory for Multi-Agent Integration
PyData - Graph Theory for Multi-Agent IntegrationPyData - Graph Theory for Multi-Agent Integration
PyData - Graph Theory for Multi-Agent Integration
barqawicloud
 
Establish Visibility and Manage Risk in the Supply Chain with Anchore SBOM
Establish Visibility and Manage Risk in the Supply Chain with Anchore SBOMEstablish Visibility and Manage Risk in the Supply Chain with Anchore SBOM
Establish Visibility and Manage Risk in the Supply Chain with Anchore SBOM
Anchore
 
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Floods in Valencia: Two FME-Powered Stories of Data ResilienceFloods in Valencia: Two FME-Powered Stories of Data Resilience
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Safe Software
 
Introduction to Internet of things .ppt.
Introduction to Internet of things .ppt.Introduction to Internet of things .ppt.
Introduction to Internet of things .ppt.
hok12341073
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Ben Blair - Operating Safely in a Vibe Coding World
Ben Blair - Operating Safely in a Vibe Coding WorldBen Blair - Operating Safely in a Vibe Coding World
Ben Blair - Operating Safely in a Vibe Coding World
AWS Chicago
 
Oracle Cloud and AI Specialization Program
Oracle Cloud and AI Specialization ProgramOracle Cloud and AI Specialization Program
Oracle Cloud and AI Specialization Program
VICTOR MAESTRE RAMIREZ
 
cnc-drilling-dowel-inserting-machine-drillteq-d-510-english.pdf
cnc-drilling-dowel-inserting-machine-drillteq-d-510-english.pdfcnc-drilling-dowel-inserting-machine-drillteq-d-510-english.pdf
cnc-drilling-dowel-inserting-machine-drillteq-d-510-english.pdf
AmirStern2
 
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and ImplementationAI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
Christine Shepherd
 
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely
 
TrustArc Webinar - 2025 Global Privacy Survey
TrustArc Webinar - 2025 Global Privacy SurveyTrustArc Webinar - 2025 Global Privacy Survey
TrustArc Webinar - 2025 Global Privacy Survey
TrustArc
 
Edge-banding-machines-edgeteq-s-200-en-.pdf
Edge-banding-machines-edgeteq-s-200-en-.pdfEdge-banding-machines-edgeteq-s-200-en-.pdf
Edge-banding-machines-edgeteq-s-200-en-.pdf
AmirStern2
 
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Safe Software
 
Crypto Super 500 - 14th Report - June2025.pdf
Crypto Super 500 - 14th Report - June2025.pdfCrypto Super 500 - 14th Report - June2025.pdf
Crypto Super 500 - 14th Report - June2025.pdf
Stephen Perrenod
 
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Safe Software
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
TimeSeries Machine Learning - PyData London 2025
TimeSeries Machine Learning - PyData London 2025TimeSeries Machine Learning - PyData London 2025
TimeSeries Machine Learning - PyData London 2025
Suyash Joshi
 
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven InfrastructureNo-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
 
“Solving Tomorrow’s AI Problems Today with Cadence’s Newest Processor,” a Pre...
“Solving Tomorrow’s AI Problems Today with Cadence’s Newest Processor,” a Pre...“Solving Tomorrow’s AI Problems Today with Cadence’s Newest Processor,” a Pre...
“Solving Tomorrow’s AI Problems Today with Cadence’s Newest Processor,” a Pre...
Edge AI and Vision Alliance
 
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
Edge AI and Vision Alliance
 
PyData - Graph Theory for Multi-Agent Integration
PyData - Graph Theory for Multi-Agent IntegrationPyData - Graph Theory for Multi-Agent Integration
PyData - Graph Theory for Multi-Agent Integration
barqawicloud
 
Establish Visibility and Manage Risk in the Supply Chain with Anchore SBOM
Establish Visibility and Manage Risk in the Supply Chain with Anchore SBOMEstablish Visibility and Manage Risk in the Supply Chain with Anchore SBOM
Establish Visibility and Manage Risk in the Supply Chain with Anchore SBOM
Anchore
 
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Floods in Valencia: Two FME-Powered Stories of Data ResilienceFloods in Valencia: Two FME-Powered Stories of Data Resilience
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Safe Software
 
Introduction to Internet of things .ppt.
Introduction to Internet of things .ppt.Introduction to Internet of things .ppt.
Introduction to Internet of things .ppt.
hok12341073
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Ben Blair - Operating Safely in a Vibe Coding World
Ben Blair - Operating Safely in a Vibe Coding WorldBen Blair - Operating Safely in a Vibe Coding World
Ben Blair - Operating Safely in a Vibe Coding World
AWS Chicago
 
Oracle Cloud and AI Specialization Program
Oracle Cloud and AI Specialization ProgramOracle Cloud and AI Specialization Program
Oracle Cloud and AI Specialization Program
VICTOR MAESTRE RAMIREZ
 
cnc-drilling-dowel-inserting-machine-drillteq-d-510-english.pdf
cnc-drilling-dowel-inserting-machine-drillteq-d-510-english.pdfcnc-drilling-dowel-inserting-machine-drillteq-d-510-english.pdf
cnc-drilling-dowel-inserting-machine-drillteq-d-510-english.pdf
AmirStern2
 
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and ImplementationAI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
Christine Shepherd
 
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely
 
TrustArc Webinar - 2025 Global Privacy Survey
TrustArc Webinar - 2025 Global Privacy SurveyTrustArc Webinar - 2025 Global Privacy Survey
TrustArc Webinar - 2025 Global Privacy Survey
TrustArc
 
Edge-banding-machines-edgeteq-s-200-en-.pdf
Edge-banding-machines-edgeteq-s-200-en-.pdfEdge-banding-machines-edgeteq-s-200-en-.pdf
Edge-banding-machines-edgeteq-s-200-en-.pdf
AmirStern2
 
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Safe Software
 
Crypto Super 500 - 14th Report - June2025.pdf
Crypto Super 500 - 14th Report - June2025.pdfCrypto Super 500 - 14th Report - June2025.pdf
Crypto Super 500 - 14th Report - June2025.pdf
Stephen Perrenod
 
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Safe Software
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
TimeSeries Machine Learning - PyData London 2025
TimeSeries Machine Learning - PyData London 2025TimeSeries Machine Learning - PyData London 2025
TimeSeries Machine Learning - PyData London 2025
Suyash Joshi
 
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven InfrastructureNo-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
 

Php hypertext pre-processor

  • 1. PHP - Hypertext Pre-processor Scripting Language for Web Development
  • 2. PHP is probably the most popular scripting language on the web. It is used to enhance web pages.  Using PHP, you can do things like create username and password login pages, check details from a form, create forums, picture galleries, surveys, and a whole lot more. 
  • 3. Script:  A “script” is a collection of program or sequence of instructions that is interpreted or processed out by another program rather than by the computer processor.    Client-side Server-side In server-side scripting, (such as PHP, ASP) the script is processed by the server Like: Apache, ColdFusion, ISAPI and Microsoft's IIS on Windows, JSP, PHP,PERL, Tcl and Python.  Client-side scripting such as JavaScript runs on the web browser.
  • 4. PHP - Introduction • PHP stands for PHP: Hypertext Preprocessor. • Developed by Rasmus Lerdorf in 1994 • It is a powerful server-side scripting language for creating dynamic and interactive websites. • It is an open source software, which is widely used and free to download and use. • It is an efficient alternative to competitors such as Microsoft's ASP.
  • 5. What is PHP?  Used to generate dynamic web-pages.  PHP scripts reside between reserved PHP tags  This allows the programmer to embed PHP scripts within HTML pages  Personal Home Pages(Old Definition)  An alternative explanation is that the initials come from the earliest version of the program, which was called Personal Home Page Tools
  • 6. What is PHP (cont’d)  Interpreted language, scripts are parsed at run-time rather than compiled beforehand  Executed on the server-side  Source-code not visible for client  ‘View Source’ in browsers does not display the PHP code  Various built-in functions allow for fast development
  • 7. What does PHP code look like?  Structurally similar to C/C++  Supports procedural and object-oriented paradigm (to some degree)  All PHP statements end with a semi-colon  Each PHP script must be enclosed in the reserved PHP tag <?php … ?>
  • 8. Introduction to PHP  PHP is perfectly suited for Web development and can be embedded directly into the HTML code.  PHP is often used together with Apache (web server) on various operating systems. It can be used with Microsoft's IIS on Windows.  PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
  • 9. Introduction to PHP What is a PHP File? • PHP files have a file extension of ".php", ".php3", or ".phtml" • PHP files can contain text, HTML tags and scripts • PHP files are returned to the browser as plain HTML
  • 10. Introduction to PHP What you need to develop PHP Application:  Install Apache (or IIS) on your own server, install PHP, and MySQL OR  Install Wampserver2 (a bundle of PHP, Apache, and MySql server) on your own server/machine
  • 11. Benefits of PHP  PHP is an open source software & costs nothing, it is free to download and use.  PHP is a server-side scripting language and is used for websites and web applications.  PHP scripts are executed on the server.  PHP supports a wide range of databases.  PHP runs on various platforms like Linux, Windows, Unix etc.  PHP supports most web servers (for example Apache, IIS).  PHP converses with several network protocols.
  • 12. What you need to get started with PHP      Before you can write and test your PHP scripts, there's one thing you'll need - a server! Fortunately, you don't need to go out and buy one. In fact, you won't be spending any extra money. That's why PHP is so popular! But because PHP is a server-sided scripting language, you either have to get some web space with a hosting company that supports PHP, or make your computer affect that it has a server installed. This is because PHP is not run on your PC - it's executed on the server. The results are then sent back to the client PC (your computer).
  • 13. Contd., We're going to be using some software called Wampserver.  This allows you to test your PHP scripts on your own computer.  It installs everything you need, if you have a Windows PC. We'll explain how to get it installed in a moment, and where to get it from. 
  • 14. Benefits of PHP  PHP is an open source software & costs nothing, it is free to download and use.  PHP is a server-side scripting language and is used for websites and web applications.  PHP scripts are executed on the server.  PHP supports a wide range of databases.  PHP runs on various platforms like Linux, Windows, Unix etc.  PHP supports most web servers (for example Apache, IIS).  PHP converses with several network protocols.
  • 15. How PHP is Processed  When a PHP document is requested of a server, the server will send the document first to a PHP processor  Two modes of operation  Copy mode in which plain HTML is copied to the output  Interpret mode in which PHP code is interpreted and the output from that code sent to output  The client never sees PHP code, only the output produced by the code