Friday 17 March 2017

What is PHP

PHP Stands for -
                    "PHP:-Hypertext Preprocessor" But Its original name PERSONAL HOME PAGE.
PHP is the  server_side programming language that's taken the web world by storm
PHP is far and Away the most popular programming language for use on web servers. PHP able to do some easy programing on the web server, creating everything from online database to guest books from customer schedulers to chat rooms from file uploading tools to shopping carts, Its all possible with PHP.

PHP at that time was called personal home page or personal home page tools. At that time as you might expect php was very simple and could be used to creete web page hit, counters, guest books.

Creating PHP page/Document: Some step for creating PHP page.
Step1.Open text editor like NOTEPAD, WORD PAD, etc.
Step2.Write PHP code in text editor.
Step3.Save file with Extension .PHP.

Simple PHP document:-PHP and HTML Together

<HTML>
<HEAD><TITLE> PHP and HTML DOCUMENT</TITLE>
</HEAD>
 <BODY><H1>DOCUMENT USING PHP AND HTML</H1>
phpinfo FUNCTION
<BR>
<?php
phpinfo();
?>
</BODY></HTML>
 
the above document save file name phphtml.php in php Extension we used .php.

1 comment: