Thursday, January 28, 2016

Introduction to PHP Tutorial


PHP Script can consist of code and HTML code. To run PHP you need to install the Apache Server on your computer. Many software software package that provides this need.

I prefer to use xampp software package for simple installation and use easier.
Xampp software you can download from the internet. Below is xampp installer software that I downloaded from the Internet:



Double-click the installer xampp to perform the installation.
After you install Service apache xampp sure aktik by double-clicking XAMPP ControlPanel contained in the desktop.
See the picture below:

See Running Apache service. After service Running Apache Web Server, you can run a PHP script. After install xampp you can write php files in the folder c: \ xampp \ htdocs \

Open notepad and type the code as shown below:




save the file with the name halo.php in the folder c: \ xampp \ htdoc

To see the results you type in your browser http: //localhost/halo.php and press enter
ok