What is PHP? All details of PHP.

What is PHP?

PHP stands for Hypertext preprocessor. PHP is a server-side scripting language whose scripts are executed in the server. MY SQL, Oracle, Sybase, etc are supported in PHP. One of the most admirable things of PHP is that it is an open-source application and free to download and use.

The extensions of PHP file are “.php”, “.php3”, or “.phtml”.

PHP program files can have text, HTML tags, and scripts.

Why we need PHP?

Programming
Programming

PHP can be run on different and various platforms such as UNIX, Linux, Windows, etc.

  • We don’t need to pay for the downloading of PHP because PHP is free. We can download PHP from its official site: php.net
  • Php is the easiest server-side programming language and it is easy to learn and run.

Where we can start PHP?

Programming Language
Programming Language

We use PHP to get access to Web servers.

  • First, we need to install Apache on our own server and then we need to install PHP and My SQL.
  • Or we need a web hosting plan with the support of PHP and MY SQL.

Some Important Terms in PHP

Array- Array is a special type of variable because it holds multiple values in one variable.

Loop – Loop is used in PHP to run the PHP script multiple times.

ODBC –  It is an API (Application Programming Interface) that allows us to connect the Data source. Ex- MS Access database.

PHP Filter –  PHP filter is used to sorting out and filter the information or data from insecure sources like user input.

 Basic Syntax of PHP.

PHP script to send “Hello World” to the browser.

<html>

<body>

<?php

echo "Hello World";

?>

</body>

</html>

Last Word

This was all about the basic PHP. If you to learn further deeper then comment below. If you have queries in understanding. Then also comment below.


More Posts

He is the administrator of this blog. He is also a content writer and SEO manager of this blog. He shares tips to start a successful blog. He has many blogs and he has experience in Blogging.

Leave a Comment