Monday, October 1, 2012

What Is PHP?


A. PHP
PHP is one type of programming language, including the type of server side scripting, which means a bunch of scripts that are processed on the server side. Examples of programming languages ​​that are included in server side scripting are PHP, ASP, Cold Fusion or Perl.
PHP was created by Rasmus Lefrod in 1994. PHP stands for PHP Hypertext Prepocessor is a programming language in the form of scripts that are placed and processed on the server. The results will be sent to the client where the user is using a browser.
PHP is designed specifically for the creation of dynamic, which means PHP can form view according to current demand.
Advantages of PHP programming language to another:
a) It is a scripting language that does not do a compilation in its use.
b) Web server that supports PHP can be found everywhere, ranging from IIS to apache configuration fairly easily.
c) The easiest language for many references
d) Ease of development, because of the many mailing lists and developers who are ready to assist in the development.
e) Open Source, can be used in various machines (UNIX, LINUX, Windows) and can be run in runtime through the console and also can run system commands.

B. How Writing PHP scripts and Identifier

4 ways of writing PHP scripts:
1. <? PHP scripts?>
2. <? Php script PHP?>
3. <SCRIPT LANGUAGE="php"> PHP Script </ SCRIPT>
4. <% Script%>

Write a Comment:
1. / / {Comment}
2. # Comment
3. / * Comment / *

Identifier in PHP consists of functions, variables and classes.

No comments:

Post a Comment