ankitweblogic logo
W e b t u t o r i a l s

Define PHP

PHP Installation


PHP Case Sensitivity

PHP Variable

PHP Echo & Print

PHP Operators

PHP Receiving Input

PHP Decision Making

PHP Loops

PHP Jumping Statement

PHP Image Gallery

PHP File Upload

PHP Arrays

PHP String Functions

PHP Math Functions

PHP Functions

PHP Variable Scope

PHP Constant Variable

PHP Superglobals

PHP Form Validation

PHP Include Statement

PHP Filter

PHP File Handling

PHP Date Functions

PHP Cookies

PHP Session

PHP Send Emails

PHP Captcha

PHP-MySQL Connectivity

PHP MySQL Select

PHP MySQL Insert

PHP MySQL Delete

PHP MySQL Update

PHP MySQL Injection

Installing PHP Software

In order to develop and run PHP Web pages vital components need to be installed on your computer system.
1. Web Server - PHP will work with virtually all Web Server software, including Microsoft's Internet Information Server (IIS) but most often used is freely availble Apache Server.
2. Database - PHP will work with virtually all database software, including Oracle, Sybase but most commonly used is freely available MySQL database.

PHP available Softwares are:
WAMP Server (Windows, Apache, MySQL, PHP)
LAMP Server (Linux, Apache, MySQL, PHP)
MAMP Server(Macintosh, Apache, Mysql and PHP)
XAMPP Server - X meant for Operating System, Apache, MySQL, PHP, and PERL.

Download Link:
WAMP Server - 32 Bit
WAMP Server - 64 Bit
XAMPP Server
Example: To print a Message, "My first PHP script"

To Save the File:

PHP files can contain HTML, CSS, JavaScript, and PHP code. PHP code are executed on the server, and the result is returned to the web browser as the plain HTML. PHP files have an extension ".php".
To run PHP file, put the file in 'htdocs' folder which is in 'c:\xampp\htdocs' and in browser type the URL 'http://localhost/filename.php' or ''