Language Selection

English French German Italian Portuguese Spanish

PHP Basics

Filed under

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. has detailed installation instructions for UNIX/Linux, Windows, and Mac OS on its Web site.

Getting Started

Full Story.

More in Tux Machines

Linux 3.9 To Linux 4.9 Kernel Benchmarks: Testing The 21 Last Kernels

With the in-development Linux 4.9 kernel showing signs of some performance improvements, I've gone ahead and tested the last 21 major kernel releases on the same system. From Linux 3.9 to Linux 4.9, each of the major kernel releases was tested from the same Intel Core i7 desktop with a variety of benchmarks. Read more

Keeping up the fight for free software

Here's John Sullivan's vision for a more just world: You pop into your favorite electronics retailer and encounter a panoply of new gadgets, each one more alluring and astounding than the last—and each one guaranteed to respect your freedom. Your freedom to inspect its software. Your freedom to modify that software. Your freedom to have that software collect only the data you wish. Read more

This Linux computer may be smaller than a coin, but it packs some big computing power

Whether you think they’re a novelty, sneaky powerful, or just seriously cute, microcomputers are here to stay. Find out what all the fuss is about with the versatile, ultra-adaptable VoCore 2 Linux mini computer, paired with an Ultimate Dock for just $42.99. If you’ve never experimented with a microcomputer like the VoCore 2, you may be surprised by how much you can do with this tiny open source computer and wireless router. The VoCore 2’s 580 MHz processor is ready to handle almost any coding plan, including Java, JavaScript, Python, and Ruby projects. Read more Also: Daily Deal: VoCore2 Mini Linux Computer And Ultimate Dock

Nantes: Open source cuts off recurring charges

Switching to open source means the end of the periodic recurring charges from proprietary software vendors, says Eric Ficheux, change management specialist at Nantes Métropole, France’s 6th largest city. “The total cost of ownership of LibreOffice is far lower than of its proprietary predecessor”, he says. Read more