Monday, July 14, 2008

What is php

Php is a web-oriented server-side programming language.
You can use this language to create many internet-applications,
for example guestbooks, polls, counters, forums e many other things....
What means server-side? Php is a server-side language because the php-code must be elaborated by the server, that produces a page entirely in html.that you see in your browsers. Grafically this situation
could be represented like below:Php is a web-oriented server-side programming language.
You can use this language to create many internet-applications,
for example guestbooks, polls, counters, forums e many other things....
What means server-side? Php is a server-side language because the php-code must be elaborated by the server, that produces a page entirely in html.that you see in your browsers. Grafically this situation
could be represented like below:

To make a concrete example, I want to print on screen the word 'hello'. Between the tags <body></body> I write the following php code:
<?php echo "hello"; ?>
The server find in the page the php code( delimited by tags <?php ?> ), elaborates this code and produces a page entirely in html where,
between tag <body></body>, there is the word 'hello'.

Article written by the webmaster of TuttoPhp

1 comment: