PHP(Hypertext Pre Processing)
PHP is the full form of Hypertext Pre Processing and it is a server side scripting language it is used to create a Dynamic web pages like Ticket booking websites and E-commerce websites.
Hypertext - redirection text
Pre - before
Processing - Doing some actions
1.It is doing some process before page redirection in real-time applications.
2.First it was called as "Personal Home Page".It is uesd to receive data from front end and stors into the database and receive data from back end and make dynamic webpage.
3.It was Implemented by rasmus lerdorfat in the year of 1995.
4.It was designed by using c and perl developed by Zend techlogies.
5.It is an open source technology and platform independent.
6.It supports variety of servers but it uses Apache
7.It supports variety of databases but it is user friendly with PHP
PHP SYNTAX:
<?php <?
(or)
?> ?>
PHP EXAMPLE:
<!DOCTYPE html>
<html>
<body>
<?php
echo 'My first PHP Example';
?>
</body>
</html>
HOW TO SAVE A PHP FILE:
We can able to save the file by using filename.php
Location: c://wamp/www/foldername/php/phpfile(This format is used for wamp/lamp/mamp)
c://xamp/htdocs/foldername/phpfile(This format is used for xamp)
HOW TO RUN A PHP FILE:
For running of php we can able to use two types
1. localhost/foldername/filename.php
for the second method it will ask the port number sometimes,that method is
2.90/foldername/filename.php
PHP is the full form of Hypertext Pre Processing and it is a server side scripting language it is used to create a Dynamic web pages like Ticket booking websites and E-commerce websites.
Hypertext - redirection text
Pre - before
Processing - Doing some actions
1.It is doing some process before page redirection in real-time applications.
2.First it was called as "Personal Home Page".It is uesd to receive data from front end and stors into the database and receive data from back end and make dynamic webpage.
3.It was Implemented by rasmus lerdorfat in the year of 1995.
4.It was designed by using c and perl developed by Zend techlogies.
5.It is an open source technology and platform independent.
6.It supports variety of servers but it uses Apache
7.It supports variety of databases but it is user friendly with PHP
PHP SYNTAX:
<?php <?
(or)
?> ?>
PHP EXAMPLE:
<!DOCTYPE html>
<html>
<body>
<?php
echo 'My first PHP Example';
?>
</body>
</html>
HOW TO SAVE A PHP FILE:
We can able to save the file by using filename.php
Location: c://wamp/www/foldername/php/phpfile(This format is used for wamp/lamp/mamp)
c://xamp/htdocs/foldername/phpfile(This format is used for xamp)
HOW TO RUN A PHP FILE:
For running of php we can able to use two types
1. localhost/foldername/filename.php
for the second method it will ask the port number sometimes,that method is
2.90/foldername/filename.php
No comments:
Post a Comment