Things you should know about PHP

Before you start to work with PHP you should have some basic understanding about how it works, what are the requirements and what it can do? Why you should use PHP? etc.

PHP is widely used programming language to create dynamic websites
PHP scripts executed on the server side. As PHP is open source you can freely download and use. PHP files can contain text, HTML, Advance Java code. Once PHP is executed you can see result as plain HTML  in the browser. All PHP files have a default extension of .php
PHP can run of platforms like Windows, Linux, Unix, Mac. It is also compatible with almost all servers that are available today.

To develop websites using PHP you can

  • Find a web host with PHP and MySQL support (e.g
  • Install a web server on your own PC, and then install PHP and MySQL 

i.e THe Uniform server, xxamp, wamp, etc.

Official resource page for php is

Introduction to PHP

PHP is a server side language , and is a powerful tool for making dynamic Websites.
PHP stands for  Hypertext Preprocessor

It is a widely-used because it is free (open source) and efficient alternative to competitors such as Microsoft’s ASP. Also PHP can be embedded into HTML.

Here is simple example to print welcome to world of php.

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”

echo “Welcome to world of php.”;