What Is PHP ?


Hypertext pre-processor.

It is a general purpose server side scripting language that is used to develop:-

  • Static websites
  • Dynamic websites
  •  Web applications

The client computers accessing the PHP scripts require a web browser only.

A PHP file contains PHP tags and ends with the extension “.php”.
PHP is open source and free.

PHP as it’s known today is actually the successor to a product named PHP/FI. Created in 1994 by Rasmus Lerdorf, the very first incarnation of PHP was a simple set of Common Gateway Interface (CGI) binaries written in the C.

Php Syntax

<?php echo ‘My first code’;  ?>

A PHP file can also contain tags such as HTML and client side scripts such as JavaScript.

Leave a Reply

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