Template by:
Free Blog Templates

Kamis, 18 Februari 2010

PHP is???

what we can learn about PHP from Mr. Alan yesterday ........?????

PHP was originally an abbreviation of The personal home page created by Rasmus Lerdorf in 1995 and has been in continuous development ever since. The main implementation of PHP is now produced by the PHP Group and serves as the de facto standard for PHP as there is no formal specification. PHP is free software released under the PHP License, which is incompatible with the GNU General Public License (GPL) because restrictions exist regarding the use of the term PHP.

PHP is a server-based programming language (server side) such as ASP (Active Server Pages), JSP (Java Server Page). But of these three programming languages, PHP is a widely used because it is very easy to learn, free and very popular today. Dynamic nature of PHP web pages more up to date and can be altered without changing the files directly into the web.

Now, PHP is more known as Hypertext Preprocessor (the name being a recursive acronym.

PHP is like C programming language, Java or Perl, but PHP is designed to be easily compared lebuh use other programs, PHP can also easily handle variable. PHP can automatically recognize the data type of a value, but this simplicity can cause some problems to look for a way out by the programmer.

PHP recognize five types of data, namely:

* Integer.
* Floating-point
* String
* Array
* Object



All variables in PHP language begins with the sign ($) without regard to the type of value will ditampungnya, good character, integer, string, or floating point and arrays. Shem, uanya written in similar form and automatically PHP tipr will always remember the data stored inside it. In general, variables in PHP there are three kinds, namely the script, a variable that is sent from the HTML, the PHP environment variable luggage.



Creating Variables in Script

PHP is not like other programs in general, without explicitly declaring variables and with only the writing and give it the value of the variable already has a value.

Symbol (=) is the work operator, operator symbol is a symbol of Workmanship used for scoring operation of the existing sign on the right side to the variable on the left marks. In general, the operators used in C language can be used with the same purpose in PHP programming. For example the operator (= =) can be used in PHP programming.