Wednesday 5 October 2016

What is PHP ? Full form of PHP

PHP

What is PHP?

1.PHP stands for Hypertext Preprocessor.
2.PHP is a server-side script.
3.PHP is executed by the browsers.
4.PHP is free service.

PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages and websites.


PHP is a widely-used, free, and efficient language for website creation.


PHP file using .php extension for saving php files.

PHP Syntax:


<?php _ _ _ _ _ ?>

Example of PHP:
<?php echo "Hello Guys!"; ?>

Functions of PHP :-
1.PHP is used to open,delete,read,write,close files on Server.
2.PHP is also used to create,delete,modified files in a database.
3.PHP is used to collect data from Forms.
4.PHP is used to create and set cookies.
5.PHP can also be used to encrypt data.

Example:-
<!DOCTYPE html>
<html>
<head> <title></title> </head>
<body>
<?php echo "My First PHP Script";?>
</body>
</html>

Output:-
PHP
PHP

No comments:

Post a Comment

Leave a Reply!