PHP online tutorial [1/3]

Type: Code
Level: Beginner  
Date: 2007-Jan-26
Visited: 1035 times
Rating:
Author: Ivory Morhuld

PHP is an HTML-embedded scripting language. Much of it's syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.

PHP. Why is so popular?

The key power of PHP is that this scripting language is very popular in developers and therefore among in hosting service provider.
Mean reason for this is free/open source model for distribution of PHP. The main goal of this is cheap and easy serviceing and developing of internet applications.

Now let's start from the beginning. Declaration.

You already know that the PHP is script language. This mean that the script execute on web server by parsing the code and returning to user static html code. Parsed part must be enclosed with <?php and ?> or <? and ?>

All static html tags are just sended to clients browser like they are on web page. But the PHP part (<?php.....?>) is executed on server and depending on code will output something to browser. In our case this will be nothing because we just have write comment code which do nothing for executing of application.

Please note that in older versions of PHP (<3.0) enclosed tags are <?php and ?> only

<html>
<head>
<title></title>
</head>
<body>
<?php
// Here is PHP code
?>
</body>
</html>
- PHP online tutorial [1/3] -

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: dos online tutorial  online igo tutorial  "PHP Online tutorial:  coreldraw online tutorial  c++ online tutorial exceptions  best online tutorial for dos commands  C++ online tutorial alex  trillian tutorial online  putty online tutorial  online tutorial of coraldraw