+91 9952732367

Introduction to PHP

Before Move in to PHP tutorial you should have a basic understanding of the following:

  • HTML
  • CSS
  • JavaScript

What is PHP?

  • Whenever we start to learn a new topic the first question is What is?
  • To answer this question is not simple as we think. Before answering the question What is PHP you have know some basic things.

The first thing is how websites work?

Two types of website is there. Static and Dynamic Website. first take static Web site

Static Website:


static web page is a web page that is delivered to the user exactly as stored, in contrast to dynamic web pages which are generated by a web application. The data received by the client and the data stored in the server is same. When a user request the index.html or index.htm to the server, It immediately respond to the client directly.

Dynamic Website:


dynamic web page is a web page with web content that varies based on parameters provided by a user or a computer program. In this context the data received by the client and the data stored in the server is not same. When a user request index.php page to the server the server does respond the user computer directly. The server request Preprocessor(In this it preprocess the PHP code or block and generate resulting HTML). The Preprocessed  content only sent to the client browser. The content varies dynamically. The client browser does not have an idea about PHP Page. It only understands HTML,CSS, JavaScript. So all the Preprocess works are done in the server side. So we called PHP as a Server side scripting language.

Now Come to the topic What is PHP?

  • PHP is an open source general-purpose server-side scripting language originally designed for Web development to produce dynamic Web sites.
  • PHP code is interpreted by a web server with a PHP Preprocessor module which generates the resulting HTML.
  • PHP stands for : Hypertext Preprocessor but initially it was name Personal Home Page.
  • PHP is free and Open Source.
  • PHP is Platform Independent it almost work on all servers (IIS, Apache etc.,)
  • It is the Power behind WordPress, Wikipedia, Joomla and even the user facing part of Facebook.
  • It can be embedded in to HTML document rather than calling a external file to process.
  • PHP supports Object oriented Programming Language.
  • PHP supports many databases(MySQL,Oracle,ODBC,Post Gre SQL etc.,)

The PHP was Originally designed to develop a dynamic websites.

One thought on “Introduction to PHP

  1. Sweet blog! I found it while searching on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Cheers.

Leave a Reply to Alice Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

About the Author:

Selvakumar Sankaravel
Hai I am Software and web developer. I studied B.Sc(Maths) in Ayya Nadar Janaki Ammal College,India and I studied MCA in Kalasalingam University,India. Now I am working as a Developer cum Project Leader at Kalasalingam University and I am doing freelancer works too.
Copyright © s3learn.com