PHP language

PHP

There are thousands of programming languages that exist and many more are being developed.So,why use PHP?But only few of these have become sufficiently popular and are used by many people.

PHP is an acronym for hypertext preprocessor.It’s a general-purpose server-side scripting language designed for web development. It is installed on more than 20 million web sites and 1 million web servers!It helps in creating dynamic websites and allows users to interact and exchange informaton.

PHP can run on Windows, Solaris, Linux or Unix and NT servers. PHP uses C/C++ as a base language hence it is more feasible for a wider audience. PHP is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.

Let’s see a simple example for a PHP programme:

<html>

<head>

<title>First PHP Script</title>

<body>

<?php echo “hello world!” ;?> </body>

</head>

</html>

As we can see PHP is embedded in HTML.So its common when youre programming that these kind of PHP scripts can be seen in the code.Now lets see some common uses of PHP:

  • It can perform system functon i.e. transferring files,reading from and writing to files etc.
  • We can add,delete,modify contents of our database through PHP.
  • We can access cookies and set variables for cookies with the help of PHP
  • PHP can be used to encrypt data
  • Access restrictions can be imposed on the website with the help of PHP.
  • PHP supports many protocols like POP3,IMAP etc.Added features include support for JAVA and distributed arcitectures like COBRA that enables for the development of n-tier architecture.

PHP is a widely used server side scripting language that can be used for implementing various features of databases websites etc.Now the reason for its popularity can be summarized as follows:

  • Flexibility
  • Security
  • Familiarity
  • Efficiency
  • Simplicity

Click here for government certification in Information Technology

 

 

Share this post

12 Comments. Leave new

Leave a Reply

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

Fill out this field
Fill out this field
Please enter a valid email address.

Social Interactions in congruity of social media
5 Cs of Credit

Get industry recognized certification – Contact us

keyboard_arrow_up