Students Empire

Learn Something New
Home

Learn PHP


Introduction


The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications. This tutorial helps you to build your base with PHP.


What is PHP?


  • PHP: Hypertext Preprocessor

  • PHP is a widely-used, open source scripting language

  • PHP scripts are executed on the server

  • PHP is free of use


PHP is an amazing and popular language!


  • It is powerful enough to be at the core of the biggest blogging system on the web (WordPress)!

  • It is deep enough to run the largest social network (Facebook)!

  • It is also easy enough to be a beginner's first server side language!


PHP started out as a small open source project that evolved as more and more people found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in 1994.


  • PHP is a recursive acronym for "PHP: Hypertext Preprocessor".

  • PHP is a server side scripting language that is embedded in HTML. It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites.

  • It is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.

  • PHP is forgiving: PHP language tries to be as forgiving as possible.

  • PHP Syntax is C-Like.


Common uses of PHP


  • PHP can generate dynamic page content

  • PHP can create, open, read, write, delete, and close files on the server

  • PHP can collect form data

  • Access cookies variables and set cookies.

  • PHP can add, delete, modify data in your database

  • It can encrypt data.

  • PHP can be used to control user-access


Why PHP?


  • PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)

  • PHP is compatible with almost all servers used today (Apache, IIS, etc.)

  • PHP supports a wide range of databases

  • PHP is free. Download it from the official PHP resource

  • PHP is easy to learn and runs efficiently on the server side