What Is PHP

What-Is-PHP

Before knowing about PHP, you must need to know what is HTML, CSS and also JavaScript. Then you proper understand what is PHP.

PHP stands for Hypertext Preprocessor but it’s original name is Personal Home Page. PHP is widely used, open source general-purpose Server Side Scripting language that is especially suited for web development.

It was created by Rasmus Lerdorf in 1994. PHP scripts are executed on the server. Currently, the latest stable version is PHP 7.3.

What is a PHP file ?

PHP (Hypertext Preprocessor) files can contain text, HTML, CSS, JavaScript, and PHP code. PHP code is executed on the server, and the results is returned to the browser as plain HTML. PHP files have extension “.php”.

What can PHP do ?

  • PHP can generate dynamic page content
  • PHP can create, open, read, write, delete, and close files on the server
  • PHP can collect form data
  • PHP can send and receive cookies
  • PHP can add, delete, modify data in your database
  • PHP can be used to control user-access

Why use PHP ?php development

  • PHP is open source and free
  • Short learning curve compared to other languages such as JSP, ASP etc.
  • PHP was designed to word with HTML and as such, it can be embedded into the HTML code
  • PHP is used by 79% of all the websites whose server-side programming language we know
  • PHP is cross platform. It’s means you can deploy your application on a number of different operating systems such as windows, Linux, Mac OS etc.
  • Large community document. PHP is compatible with almost all servers used today (Apache, IIS etc.)
  • Most web hosting servers support PHP by default unlike other language such as ASP that need IIS. This makes PHP a cost effective choice.
  • Other benefit that you get with PHP is that it’s a server side scripting language; this means you only need to install it on the server and client computers requesting for resources from the server do not need to have PHP installed; only a web browser would be enough.

Leave a Reply

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