Introduction to PHP

PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994, the PHP reference implementation is now produced by The PHP Group

Features

PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as below.

  • Collect form data
  • Generate dynamic page content
  • Send and receive cookies
  • Data Create, Read, Update, Delete operations with Famous Database Systems Like Mysql, Sql Server and many more
  • File Open, Read, Write, Delete functions at Server Side
  • Execute System Level Commands according to system access level
  • Data Encryption

But PHP can do much more. You can access the PHP program output with a web browser, viewing the PHP page through the server.

Why PHP

  • Open Source
  • Cross Platform Compatibility (Windows,Mac, Linux, Unix, Solaris, etc.)
  • Compatible with almost every Web Server Platform (IIS,Apache, etc.)
  • Works with wide range of Database System
  • Easy to learn, heavy community support, lots of resources
  • Famous CMS Systems are made in PHP (Wordpress, Joomla, Opencart, etc.)