(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
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
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.
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