Language Selection

English French German Italian Portuguese Spanish

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.

More in Tux Machines

today's howtos

Leftovers: Gaming

Fedora 21 Alpha to release on Tuesday

Today the Fedora Engineering Steering Commitee held a “Go/No Go” meeting regarding the Fedora 21 alpha, and it was agreed that the current release candidates for Fedora 21 met the release criteria. With this decision, this means that Fedora 21 will be released on Tuesday September 23, 2014. Read more

Teaching open source changed my life

Teaching open source has been a breath of fresh air for myself and for many of our students because with the open source way, there are no official tests. There is no official certification for the majority of open source projects. And, there are no prescribed textbooks. In open source, no employer worth working for will ask for official proof of your abilities. A good employer will look at what you’ve done and ask you to showcase what you can do. Yes, it still helps to have a Computer Science degree, but the lack of one is often no drawback. Read more