PHP is an acronym for PHP: Hypertext Preprocessor. It is not a proper web standard, but an open-source model. PHP is neither real programming language – but PHP lets you use so-called scripting in your documents. It is free to download and easy to use. It is executed on server.
With PHP you are not bounded to output HTML. You can also output PDF files, Images and even flash movies and animation. You can also output any text, such as XML and XHTML.
We can place PHP script anywhere in the document.
A PHP script starts with <?php and ends with ?>
The default file extension for PHP files is “.php”.
A PHP file normally consists of some HTML tags, and some PHP scripting code.
Below, we have a sample example of a PHP file, with a PHP script that uses a built-in PHP function “echo” to output the text “Hello India!” on a web page:
<! DOCTYPE html>
<h1>This is first PHP page</h1>
//PHP statements end with a semicolon (;).
echo “Hello India!”;
PHP serves following features:
- PHP can generate Static as well as dynamic page contents.
- PHP can Open, Create, Write, Read, Delete, and Close files on the server.
- PHP can store form data.
- PHP can transfer and receive cookies.
- PHP can Insert, Delete, Modify data in your database.
- PHP can be used to handle user-access.
- PHP can encrypt data.
Following are the key information of PHP:
- PHP runs on various platforms (Windows, Linux, UNIX, Mac OS X, etc.).
- PHP is compatible with almost all servers used today (Apache, IIS, etc.).
- PHP handles & supports a wide range of databases.
- PHP is easy to learn and understand, it runs efficiently on the server side.
For more information, please visit it’s official website: PHP
After the completion of my bachelors degree from renowned university of India. I have gathered total experience of 2.5 Years from IT industry till date. I am a certified Salesforce Developer (Dev-401). Currently, I am associated with Aadi IT Services and working on various technologies. I love to share my knowledge with the world. So, I thought to become a part of Techsharepoint and expand the reach of my knowledge.
Latest posts by Rajat Jain (see all)