The Beginners Guide to PHP

Published: Mar 08, 2010

Rating: 4/5

PHP is a server side scripting language. Its full form is Hyper Text PreProcessor. The founder of this particular language is Rasmus Lardoff. He displayed the language in Perl Script format. Subsequently, the adaptation was done by Andi Gutmans and Jeev Suraski who preferred to use a compiler that is C-written . The language of the web that we know and use today was completely was completely reconstructed by them from the original PHP.

Uses of PHP

Fast parsing, flexibility and versatility are the qualities that  attracts the web developers .It is applied in the making of dynamic pages. Primarily, it is used in the management of a forms data after its submission when it comes along with many interfaces and APIs. Inculcated into the language is its database capability, the commonest among the data base language is  MySQL. PHP is similarly structured as Perl and C as far as syntax is concerned. The curly braces {} defines the blocks whereas semi-colons depicts the conclusion of a fact or statement. It can be as easily learnt as Perl.

As expected in any other programming language, it contains all the loops, and subroutines. The only difference being the fact that the embedding of the code in PHP is within the HTML. One can, nonetheless use a separate file. It is in the opening and the closing tags wherein the dissimilarity between the PHP code and an HTML code lies. On finding a PHP file, it instructs the server to undergo a scanning operation through these codes and then comes the process of the execution of the code between them. It is with the help of the extension .php. that a server is able to recognize a PHP file.

Process initiation

The requirements necessary to initiate a PHP is a server with PHP installation and a simple ASCII editor such as Notepad or VI, eMacs, Kate ,etc. for a Unix or a Linux machine.

PHP is very case sensitive. With that, what is meant is that if one names a variable like $MyVar, one should not(or it is against the rule) call it $myvar, or $mYvAr. Incase one forgets to close the curly brackets, then it aids in the indentation of the lines inside the curly braces so that any missed out braces can be detected without much effort.

Rating: 4/5

Your Rating:


  • MSOFT Technologies

    07:17, August 24, 2011


    PHP frameworks like CodeIgniter and ZEND should be the standards. That is where we need to aim at, for flexible and robust PHP MySQL programming, resulting in successful development of huge database driven websites and custom online business solutions. Cheap and quality PHP MySQL programming done by .

Add Your Thoughts