Wednesday, July 14, 2010

How to Writing PHP Scripts

Writing PHP scripts always begin with a "smaller (<)" and ending with a "greater (>)" and in writing the PHP script itself, there are four different ways, namely:
PHP Scripts
PHP Scripts
<script Language="php">
PHP Scripts
PHP Scripts
Of the four ways before, you can choose which one to use in writing the PHP script but more often used is the way the first and second. In addition, the note is at the end of every PHP script should end with a "semicolon (;)".
Here is an example of writing from the PHP script:

echo ("Congratulations Learning PHP here");

Read More “How to Writing PHP Scripts”  »»

Introduction to PHP

Before we discuss PHP, there is one term that we should know beforehand, ie a server side scripting, because PHP is one type of programming languages including scripting of whom the server type. Namely a set of scripts that are processed on the server side, the intention is that there are scripts PHP scripts in a program will be processed on the server computer.

Examples of the programming language that is included in the server side scripting are PHP, ASP (Active Server Pages), Cold Fusion or Perl. And we will learn this time is the programming language PHP.

PHP was created by Rasmus Lerford, the birth of this PHP began in 1994 when Rasmus made a number of Perl scripts to watch anyone who saw the list of his memoirs. Script script is then packed into a tool called "Personal Home Page". From this package the forerunner to the creation of PHP. In 1995, Rasmus PHP/F1 creating two versions. And this version of structured programming can paste the code in the HTML tags and also can communicate with the database.

PHP stands for PHP Hypertext Preprocessor, is a scripting programming language that is placed and processed on the server. The results will be sent to the client that is places where the users using the Browser.

PHP is designed specifically for the formation of dynamic WEB. This means that PHP can form a view according to the latest request. For example you display the contents of the database to web pages.
Advantages of PHP than other programming languages including:
Programming Language PHP is a scripting language that does not do a compilation on its use.
Web Server that supports PHP can be found where the extent of starting the IIS to Apache, with a relatively simple configuration. In a side development easier, because of the many mailing lists and developer who is ready to assist in its development.
When viewed in the conceptualisation, scripting language PHP is the easiest because of the many references available.
PHP is a programming language that is open source means that PHP can be used in various machine operating systems like Linux, Unix, windows, etc. and can be done in run time through the console. Also, PHP can run commands from the system.

Read More “Introduction to PHP”  »»