PHP Basics

Filed under
HowTos

This introductory article on PHP will explain what PHP is, how it works, and how you can get started using it.

PHP (Hypertext Preprocessor) is an open source, server-side, HTML embedded scripting language used to create dynamic Web pages. PHP script is embedded within a HTML document and the programmer can jump between HTML and PHP seamlessly within the document while the code remains inaccessible to users since it is processed on the server. It combines the power of CGI scripting with the ease of working within HTML.

PHP offers several key advantages:

*Cross-platform operability
*Compatibility with a wide variety of databases
*Support for most current web servers
*Communicates with numerous network protocols
*Not limited to HTML output
*Strong text processing capabilities

Assuming you have an operating system and Web server setup on your server, PHP installation is fairly easy. Essentially you need to install the PHP processor and have your server associate .php files with it. PHP.net has detailed installation instructions for UNIX/Linux, Windows, and Mac OS on its Web site.

Getting Started

Full Story.