Monday, 7 December 2015

INTRODUCTION TO PHP




  • PHP stands for Hypertext Preprocessor.
  • PHP is a server-side scripting language like ASP.
  • PHP scripts are executed on the server.
  • PHP supports many database(MYSQL,Informix,Oracle,Sybase,Solid,PostgreSQL,Generic ODBC, etc.)
  • PHP is open sourec software
  • PHP is free to download and use.
  • PHP is server-side scripting language, which can be embedded in HTML or used as a stand-alone.
  • PHP is an offical module of Apache HTTP Server.
  • PHP used to dynamic content database, ecommerce sire & application tool.
  • POP3,IMAP,LDAP and a large number of major protocols support PHP.







What is it used for ?

  • PHP is used for dynamic website development.

      Static Website          vs               Dynamic Website

            HTML CSS                                              HTML CSS or Something like PHP.





  • The full-form of PHP is :

             Hypertext Preprocessor

  • A bit weird full form though !


Client - Server Architecture


















Definition of PHP

  • PHP is a server-side scripting language.


History of PHP

  • It was created in 1995 by Rasmus Lerdorf.
  • Back in the day every bit of web programming was CGI scripts; PHP was a relief.
  • Those days its full form was Personal Home Page.
  • He kept a few things in mind while creating PHP:
    • The C Lahguage Syntax
    • The Simplicity.
    • The Flexibility
    • Then Two big companies came:
      • Facebook 
      • Yahoo

    Why PHP ?

    • Programmer's Perspective 
      • Its based on C Language Syntax
      • Its Simple to use
      • Its Flexible in its approach
      • Facebook and Yahoo like sites are made in it.
    • Business Perspective
      • Its Open Source