Introduction:

PHP is a Server Side Scripting Language and frequently used for web development. But now PHP also used as a programming language for general purpose.

The father of PHP is Rasmus Lerdorf and he created PHP in 1994. When PHP is created at that time it known as “Personal Home Page” but now PHP stands for “PHP Hypertext Preprocessor”. PHP is a widely-used programming language and it is an open source scripting language means you can directly install it without any costing. Because PHP is a server side scripting language all scripts are executed on server.

Advantages of PHP:

  • PHP is embedded in HTML means we can add our HTML code in PHP.
  • PHP runs on multiple platforms like Windows, Unix, Linux, etc.
  • PHP also compatible with all servers used today.
  • PHP is use to manage database, dynamic pages, session etc.
  • PHP is combined or integrated with many popular databases lsuch as, MySQL, Oracle, Sybase, Microsoft SQL Server etc.
  • PHP supported a number of major protocols such as POP3(Post Office Protocol), IMAP(Internet Message Access Protocol), and LDAP(Lightweight Directory Access Protocol).
  • PHP is also known as a forgiving language means it tries to avoid minor mistakes as possible for example if you forgot to terminate the statement by semicolon “;”.
  • The PHP syntax are most likely as C-language so if you already know C language that it is very easy to you to understand it but if you are not than also it is not a big problem because in this tutorial we are trying to make a easy tutorial.

PHP Files:

You already know that PHP is embedded in HTML so that a PHP file can contain text, HTML code, CSS, JavaScript, and also PHP code.

PHP is a server side language so codes are executed on server and the result returned as a plain HTML to the browser.

PHP file are saved with “.php” extension.

 

2 responses to “Introduction of PHP”

  1. Ladue Hanauer says:

    I’m impressed, I must say. Your concept is excellent.

  2. Karen M. says:

    What you have done in developing, assembling and presenting this program is an absolute phenomenon. You have really inspired me, and I’m determined to follow through because of you. Karen M.

Leave a Reply

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