Wednesday 25 May 2016

PHP


PHP Hypertext Preprocessor is a server Programming language, and a powerful tool for making dynamic and interactive Web pages but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994. PHP originally stood for Personal Home Page, but it now stands for PHP: Hypertext Preprocessor.
PHP code may be embedded into HTML code, or it can be used in combination with various web template systems, web content management system and web frameworks.

Server-side scripting is a technique used in web development which involves employing scripts on a web server which produce a response customized for each user's (client's) request to the website. 
  • PHP files can contain text, HTML, CSS, JavaScript, and PHP code
  • PHP code are executed on the server, and the result is returned to the browser as plain HTML
  • PHP files have extension ".php"
  • PHP runs on various platforms (Windows, Linux etc.)
  • PHP is compatible with almost all servers used today (Apache etc)
  • PHP supports a wide range of databases.
  • PHP is free to download and use. Download it from the official PHP resource: www.php.net
  • PHP is easy to learn and runs efficiently on the server side.

Example :- 
<!DOCTYPE html>
   <head>
      <title>PHP</title>
   </head>
   <body>
      <?php
         echo "<h1>Hello, PHP!</h1>";
      ?>
   </body>
</html>