SlideShare a Scribd company logo
Slide 1 of 38
What is PHP
19 Feb 2014
Sumeet Singh
stepconsultancy.in
coderphp23@gmail.com
Slide 2 of 38
What is PHP?

PHP: Hypertext preprocessor

Server-side scripting language
(has to be run on a server, not in your browser)

Open source and free to download
(this means that the code behind PHP is freely available - this
often means PHP hosting is cheaper than other platforms, such
as ASP)

Particularly suitable for web development.
Slide 3 of 38
How web servers work

So what makes PHP dynamic?

Web servers and user agents (browsers) work
in what's called a 'client-server' relationship.

The user agent (browser) sends a request to
the web server

The web server interprets that request, and
sends a response to the web server
Slide 4 of 38
What is Server
This is your server
Slide 5 of 38
Broser to Web Server
Slide 6 of 38
Server Process Php
• An HTML file can contain HTML tags, text and scripts.
• Server-side scripting is about "programming" the behavior of the
server. This is called server-side scripting or server scripting.
• Client-side scripting is about "programming" the behavior of the
browser.
• Normally, when a browser requests an HTML file, the server
returns the file. However, if the file contains PHP, the script is
executed on the server before the file is returned to the browser
as plain HTML.
Slide 7 of 38
2 browser with 1 server
Slide 8 of 38
Online Server
Slide 9 of 38
What Browser Do &
What Server Do???
Slide 10 of 38
How php execute and output
only HTML
Slide 11 of 38
Slide 12 of 38
Slide 13 of 38
Slide 14 of 38
Server
++
1.Wamp
2.Xamp
Slide 15 of 38
About Xamp or Wamp
• Xamp was originally designed as a development application, so
that people could test their scripts, codes and websites on their
own computers without the need of an external server using all
the services needed. The application is very easy to install, just
running the installer will allow you to select the services you
want to run on your computer, and when to run them. Once the
program is installed, you can use its Control Panel application to
start, stop or manage the services with ease. It features a very
useful graphic interface, but there are also powerful terminal
commands you can use to manage all the services.
Slide 16 of 38
Wamp or Xamp Looks Like
when installed
Slide 17 of 38
Xamp Server when installed It
looks Like

More Related Content

PPTX
dotNetConf2019
PPTX
How to Automate Practically Anything with FME Server (Technical Webinar)
PPTX
Robot a quick automation frame work
PPTX
PHP V/s ASP .net
PPTX
Php vs asp
DOCX
Diyobd2 tcscdp
PDF
Hhvm and wordpress
PDF
Soap ui oracle_brm_automated_performance_tests
dotNetConf2019
How to Automate Practically Anything with FME Server (Technical Webinar)
Robot a quick automation frame work
PHP V/s ASP .net
Php vs asp
Diyobd2 tcscdp
Hhvm and wordpress
Soap ui oracle_brm_automated_performance_tests

What's hot (19)

PPTX
Integrate matlab application into python
PPTX
Solution about automating end to end server test
ODP
Intro To Version Control
ODP
Accelerate Quality with Postman Advance
PDF
Isomorphic server side rendering with Twig
PDF
Joomlatools Platform v2.0
PPT
Qtp testing
PPTX
Metrics & Challenges for Testing Streaming Applications in 2019
PPTX
Asp Net (FT Preasen Revankar)
PPT
PPTX
Php, magento and asp.net for your e commerce store
PPTX
Bluemix - Deploying a Java Web Application
PPTX
Ruby и TestComplete
PPTX
Mule velocity
PDF
Continuous Integration at Mollie
ODP
Wt vs phalcon
PPTX
Configuring Anypoint Studio MQ connector
Integrate matlab application into python
Solution about automating end to end server test
Intro To Version Control
Accelerate Quality with Postman Advance
Isomorphic server side rendering with Twig
Joomlatools Platform v2.0
Qtp testing
Metrics & Challenges for Testing Streaming Applications in 2019
Asp Net (FT Preasen Revankar)
Php, magento and asp.net for your e commerce store
Bluemix - Deploying a Java Web Application
Ruby и TestComplete
Mule velocity
Continuous Integration at Mollie
Wt vs phalcon
Configuring Anypoint Studio MQ connector
Ad

Similar to How Browser and server works (20)

PPTX
PPTX
Introduction to PHP.pptx
PPT
Php unit i
PPT
Introduction of PHP And MySql presentation
PDF
Linux, Apache, Mysql, PHP
PPTX
Introduction to PHP and mysql BSIT SSC project
PPTX
Introduction to PHP from Beginning to End
PPTX
First steps of programming with php
PPTX
Php hypertext Preprocessor
PDF
Dynamic websites lec5
PPTX
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
PDF
Unit 1 php_basics
PPTX
Chapter onehsfhjfgjhdjhdhfsGfhghsgasg (2).pptx
PPT
Php hypertext pre-processor
PPTX
Introduction to php
PDF
PPT
PHP: Hypertext Preprocessor Introduction
PPT
Intro to-php-19 jun10
PPT
Introduction to Dynamic Web Design Technology
PDF
Getting Started: The Environment
Introduction to PHP.pptx
Php unit i
Introduction of PHP And MySql presentation
Linux, Apache, Mysql, PHP
Introduction to PHP and mysql BSIT SSC project
Introduction to PHP from Beginning to End
First steps of programming with php
Php hypertext Preprocessor
Dynamic websites lec5
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
Unit 1 php_basics
Chapter onehsfhjfgjhdjhdhfsGfhghsgasg (2).pptx
Php hypertext pre-processor
Introduction to php
PHP: Hypertext Preprocessor Introduction
Intro to-php-19 jun10
Introduction to Dynamic Web Design Technology
Getting Started: The Environment
Ad

Recently uploaded (20)

PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
UNIT 4 Total Quality Management .pptx
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPT
Mechanical Engineering MATERIALS Selection
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPT
Project quality management in manufacturing
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Embodied AI: Ushering in the Next Era of Intelligent Systems
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
bas. eng. economics group 4 presentation 1.pptx
Internet of Things (IOT) - A guide to understanding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
UNIT 4 Total Quality Management .pptx
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
R24 SURVEYING LAB MANUAL for civil enggi
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Mechanical Engineering MATERIALS Selection
CYBER-CRIMES AND SECURITY A guide to understanding
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Project quality management in manufacturing
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf

How Browser and server works

  • 1. Slide 1 of 38 What is PHP 19 Feb 2014 Sumeet Singh stepconsultancy.in coderphp23@gmail.com
  • 2. Slide 2 of 38 What is PHP?  PHP: Hypertext preprocessor  Server-side scripting language (has to be run on a server, not in your browser)  Open source and free to download (this means that the code behind PHP is freely available - this often means PHP hosting is cheaper than other platforms, such as ASP)  Particularly suitable for web development.
  • 3. Slide 3 of 38 How web servers work  So what makes PHP dynamic?  Web servers and user agents (browsers) work in what's called a 'client-server' relationship.  The user agent (browser) sends a request to the web server  The web server interprets that request, and sends a response to the web server
  • 4. Slide 4 of 38 What is Server This is your server
  • 5. Slide 5 of 38 Broser to Web Server
  • 6. Slide 6 of 38 Server Process Php • An HTML file can contain HTML tags, text and scripts. • Server-side scripting is about "programming" the behavior of the server. This is called server-side scripting or server scripting. • Client-side scripting is about "programming" the behavior of the browser. • Normally, when a browser requests an HTML file, the server returns the file. However, if the file contains PHP, the script is executed on the server before the file is returned to the browser as plain HTML.
  • 7. Slide 7 of 38 2 browser with 1 server
  • 8. Slide 8 of 38 Online Server
  • 9. Slide 9 of 38 What Browser Do & What Server Do???
  • 10. Slide 10 of 38 How php execute and output only HTML
  • 14. Slide 14 of 38 Server ++ 1.Wamp 2.Xamp
  • 15. Slide 15 of 38 About Xamp or Wamp • Xamp was originally designed as a development application, so that people could test their scripts, codes and websites on their own computers without the need of an external server using all the services needed. The application is very easy to install, just running the installer will allow you to select the services you want to run on your computer, and when to run them. Once the program is installed, you can use its Control Panel application to start, stop or manage the services with ease. It features a very useful graphic interface, but there are also powerful terminal commands you can use to manage all the services.
  • 16. Slide 16 of 38 Wamp or Xamp Looks Like when installed
  • 17. Slide 17 of 38 Xamp Server when installed It looks Like