oreilly.comSafari Books Online.Conferences.

advertisement > PHP Articles

PHP Articles

Using Zend Studio for PHP Programming by Michael J. Ross
Most programmers are familiar with Eclipse, and PHP programmers are familiar with Zend Studio. But, like two great tastes that taste good together, the two have now been combined into a single tool. Learn how you can use Zend Studio to make your PHP programming more productive. Mar. 11, 2008

Quick and Clean PHP Forms by Adam Smith
You can talk about Web 2.0 all you want, but at the end of the day, a lot of the web still runs on simple form-based user interfaces. So anything that makes forms easier is a Good Thing. Adam Smith likes the HTML_QuickForm library for doing forms in PHP, and tells us why. Sep. 13, 2007

Developing Web Services Using PHP by Deepak Vohra
As Software as a Service becomes more of a trend in the industry, Web Services are gaining in importance. When most people think of Web Services, they think of Java or .NET, but as Deepak Vohra shows in this article, it's simple enough to implement them in PHP. Jul. 26, 2007

Creating MyTube with Flex and PHP by Jack Herrington
Flex is Adobe's answer to the problem of finding a multi-platform environment for rich browser applications. Jack Herrington highlights some of the power of Flex by showing how you can combine it with PHP to produce a quick and easy video blogging site. May. 24, 2007

Migrating Web-Based PHP Applications to Ajax by Bill Lubanovic
Would you like to take your PHP web applications to the next level? Bill Lubanovic provides a step-by-step demonstration of how you can enable the latest Web 2.0 features in your application. May. 10, 2007

Code As Data: Reflection in PHP by Zachary Kessin
At the end of the day, all code gets turned into data before it is executed. Sometimes, you can use that fact to help ease some of your programming chores. Zachary Kessin examines the PHP reflection capabilities and shows how you can use them to automate the creation of unit tests. Apr. 26, 2007

PHP Search Engine Showdown by Michael Douma
Your users know exactly what they want to find on your web site, but they just can't find it. If only your site had a good search engine. Michael Douma and his team recently compared several different search engines for PHP sites. Here are their results. Mar. 23, 2007

Managing Sessions and State with PHP by Brian Fioca
HTTP is stateless. If you've ever written a web application where user data matters, you know that managing that data can be troublesome. There are two kinds of data, though: page and session data. Understanding the differences can help you develop better and more easily. Brian Fioca explains. May. 18, 2006

Autofilled PHP Forms by Gavin Andresen
PHP makes handling interactive web pages easy--but when you have large forms to fill out, errors to handle, and lots of data to pass back and forth, you can make your life easier by making PHP fill in all the form values for you. Gavin Andresen shows how to make forms autopopulate from PHP arrays. Mar. 16, 2006

Implementing MVC in PHP: The Model by Joe Stump
The most popular "proper" way to build a web application seems to be to use the Model-View-Controller design pattern. While it sounds complex, the concepts are sound and the ease of development it provides are compelling. Joe Stump shows how the Model works by developing a working version in PHP 5. Mar. 2, 2006

Implementing MVC in PHP: The View by Joe Stump
The most popular "proper" way to build a web application seems to be to use the Model-View-Controller design pattern. While it sounds complex, the concepts are sound and the ease of development it provides are compelling. Joe Stump shows how the View works by developing a working version in PHP 5. Jan. 26, 2006

Simplify PHP Development with WASP
Where are the all-in-one PHP frameworks that make building well-factored and maintainable applications as easy as building simple sites? Brian Fioca shows how to make a simple database-backed site with WASP in just a few lines of code. Jan. 19, 2006

Improve Your Build Process with Ant by Michael Kimsal
Building and bundling web applications hasn't exactly grown easier over the years. This is especially true if you customize your projects for different clients. Don't go crazy with manual solutions--automate them. Michael Kimsal shows how the Ant build tool can make building, bundling, and deploying PHP applications much easier. Dec. 21, 2005

Testing PHP Code with PHPUnit by Sebastian Bergmann
Type; reload web site; eyeball output; fix bugs; repeat--there's a better way to write PHP code! Testing gives you confidence not only that your code works, but also that you can make changes to improve your design and flexibility without breaking behavior. Sebastian Bergmann, the author of PHPUnit, shows how his library can help to ease your development woes. Dec. 8, 2005

PHP Code Generation with Elisp by Zachary Kessin
There's plenty of near-repetition in software development; writing very similar code over and over again. Stop copying, pasting, and modifying, and start automating the process! Zachary Kessin shows how to use Emacs Lisp to generate useful and reusable database-access code for PHP. Nov. 23, 2005

Implementing MVC in PHP: The Controller by Joe Stump
The most popular "proper" way to build a web application seems to be to use the Model-View-Controller design pattern. While it sounds complex, the concepts are sound and the ease of development it provides are compelling. Joe Stump shows how the Controller part of MVC works by developing a working version in PHP 5. Nov. 3, 2005

Important Notice for PHP DevCenter Readers About O'Reilly RSS and Atom Feeds

O'Reilly Media, Inc. is rolling out a new syndication mechanism that provides greater control over the content we publish online. You'll notice some improvements immediately, such as better standards compliance, graphical tiles accompanying article descriptions, and enclosure support for podcatching applications. We've tested the new feeds using a variety of popular newsreaders and aggregators, but we realize that there may be a few bumps along the way. If you experience problems, please don't hesitate to send mail to Please include detail about your operating system and reader applications. We also welcome your suggestions. Thank you for your continued support of the PHP DevCenter.

The following URLs represent the PHP DevCenter's article and weblog content in a variety of popular formats:

Atom 1.0
RSS 1.0
RSS 2.0

We will begin automatically redirecting the existing feeds to the new feeds above, but we recommend that you update your feedreader's subscription settings to ensure continuous and uninterrupted service.

O'Reilly Media, Inc.'s Online Publishing Group

 Aug. 11, 2005

The Practicality of OO PHP by David Day
PHP is an easy language for doing practical things immediately. The easiest ways to begin aren't always the best ways to stay productive, though. PHP's support for object orientation requires a little more learning and a little more discipline, but it has many benefits for larger projects. David Day explains the basics of OO in PHP 4. Jul. 28, 2005

Object Overloading in PHP 5 by Martin Jansen
PHP 5 has greatly improved object-oriented programming support. It also has new hooks to overload methods and properties. How can you do this? Why would you want to? Martin Jansen demonstrates method and property overloading with PHP 5 objects. Jun. 16, 2005

Securing Web Forms with PEAR's Text_CAPTCHA by Marcus Whitney
On the internet, how can you tell a person from a program written to act just like a person? One approach is to ask a question that (usually) only a human could answer. Marcus Whitney shows off a PEAR package to do this easily from PHP. Mar. 31, 2005

Programming eBay Web Services with PHP 5 and Services_Ebay by Adam Trachtenberg
PHP 5 added several new features to the language, yet laundry lists and high-level overviews don't really show what they are or why you might use them. Fortunately, Adam Trachtenberg writes for us. Here's how to use the new features of PHP 5 for writing web services clients. Jan. 27, 2005

Calculating Entropy for Data Mining by Paul Meagher
Eww, statistics. Right? Not necessarily--for example, calculating the entropy of your web statistics can help you analyze trends and correlations. Paul Meagher demonstrates statistical programming in PHP while explaining single-variable entropy. Jan. 6, 2005

Three-Tier Development with PHP 5 by Luis Yordano Cruz
Well-factored applications separate data storage, manipulation, and display. For PHP programmers, PHP 5 and PEAR make that easier than ever. Luis Yordano Cruz demonstrates how to combine PEAR::DB_DataObject, Smarty, and PHP 5 to improve the design and maintenance of your applications. Dec. 9, 2004

Writing "Learning PHP 5" by David Sklar
Developers often write open source software in public, but what about developers who write about open source software? Do they build tools? How do your favorite books come about? David Sklar explains how he wrote Learning PHP 5Nov. 11, 2004

Migrating to Page Controllers by Q Ethan McCallum
Simple web apps can start simple, but when they grow more complex, they often need pruning and refactoring to be maintainable. The Page Controller design pattern can help separate concerns such as templates and logic. Ethan McCallum demonstrates this language-neutral technique with PHP. Oct. 14, 2004

PHP Form Handling by David Sklar
If your PHP program is a dynamic web page (and it probably is) and your PHP program is dealing with user input (and it probably is), then you need to work with HTML forms. David Sklar, author of Learning PHP 5, offers tips for simplifying, securing, and organizing your form-handling PHP code. Aug. 26, 2004

PHP Debugging Basics by David Sklar
Whether you're a PHP newbie or a wizard, your programs are going to have bugs in them. Nobody's perfect. David Sklar, author of Learning PHP 5, provides some basic techniques for finding and fixing the problems in your programs. In particular, he covers how to set up error reporting as you like it, how to find parse errors, and how to inspect program data. Aug. 12, 2004

Simplify Business Logic with PHP DataObjects by Darryl Patterson
Are you sick of writing the same SQL over and over in your application? Would you like to simplify and unify your access to the same tables in multiple places? DataObjects may be for you. Darryl Patterson demonstrates how to write and use DataObjects in PHP. Aug. 5, 2004

Getting Started with PHP's HTML_QuickForm by Keith Edmunds
Web programming can be dull the second time you have to validate client parameters or render data to form elements. Fortunately, PHP's HTML_QuickForm class simplifies the creation, processing, and validation of client parameters. Keith Edmunds explains how to start using QuickFormJul. 22, 2004

Why PHP 5 Rocks! by Adam Trachtenberg
Adam Trachtenberg provides a quick tour around PHP 5, highlighting seven of his favorite new features. These features (including better support for OOP, bundled SQLite, iterators, and more cool stuff) will allow your PHP 5 code to be more concise, more elegant, and more flexible than ever. Adam is the author of the upcoming Upgrading to PHP 5Jul. 15, 2004

Building a PHP Front Controller by Q Ethan McCallum
It's a rare web app that doesn't span multiple pages. It's also rare that such an app doesn't have some common behavior. The Front Controller design pattern can simplify processing, behavior, and the user experience. Ethan McCallum explains how to use this in your applications. Jul. 8, 2004

Using Shared Memory from PHP by Alexander Prohorenko
At some point, you'll need to communicate with another process. Unix systems support a powerful IPC mechanism called shared memory that you can use to share information between processes. Alexander Prohorenko explains the basic theory and demonstrates how to use it from PHP. May. 13, 2004

User-Friendly Form Validation with PHP and CSS by Jeff Cogswell
Any non-trivial web application processes form data, and every secure web application has to validate that data on the server. Balancing security with user-friendliness can be tricky. Jeff Cogswell demonstrates one approach. Apr. 22, 2004

Web App Security Testing with a Custom Proxy Server by Nitesh Dhanjani
Assuming users will only access your web applications as you intend may be the best way to invite abuse. Attackers have tools to build bogus responses, so why not use the same techniques to toughen your own sites? Nitesh Dhanjani demonstrates how a custom proxy server can help you test the security of your web apps. Jan. 22, 2004

Using PHP 5's SimpleXML by Adam Trachtenberg
Unless you've worked with SGML, you may find it ironic that XML can be hard to parse. Most choices boil down to event-based parsing, bulky tree-walking, or writing more XML. The upcoming PHP 5 has another option, SimpleXML, that can take the pain out of simple and common XML uses. Adam Trachtenberg explains. Jan. 15, 2004

Pitfalls of Transactions with PHP by Kimberlee Jensen
Database transactions are important for data reliability and consistency. Used properly, they can prevent many types of errors. Used improperly, they can cause many other kinds of errors. Kimberlee Jensen demonstrates using transactions with PHP well. Dec. 18, 2003

PHP Web Services Without SOAP by Adam Trachtenberg
Web services are hot these days, and SOAP gets a lot of the buzz. It's not the only game in town, though. REST advocates claim their approach is how the Web was meant to be. You decide. Adam Trachtenberg, coauthor of PHP Cookbook, demonstrates how to access's web services with PHP and REST; no special tools needed! Oct. 30, 2003

Looking into Zend Studio 3.0 by John Coggeshall
Longtime PHP supporter Zend recently released Zend Studio 3.0, a revised and revamped development environment for PHP. PHP Foundations columnist John Coggeshall leaped at the chance to take it for a test drive. Oct. 23, 2003

PHP Security, Part 3 by John Coggeshall
A malicious user will likely start his attack by using your system in ways you never anticipated. Your system logs are an oft-neglected defense tool. John Coggeshall shows how PHP's error logging and reporting functions can help you secure your applications. Oct. 9, 2003

Modular PHP Development with FastTemplate by Daniel Solin
Good web developers already have a handle on separating logic from presentation from content. Great web developers know how best to work with their teams. If you're responsible for pulling together developers, designers, localizers, and writers, how can you separate responsibilities in your web application? Daniel Solin explains how his team uses PHP's FastTemplate to keep everyone on track. Oct. 2, 2003

PHP Security, Part 2 by John Coggeshall
If you have users, you'll undoubtedly have bad guys trying to break things. As a developer, it's your responsibility to make sure your code is secure. John Coggeshall explains how system calls from PHP can be exploited -- and how to make them secure. Aug. 28, 2003

PHP Security, Part 1 by John Coggeshall
If you have users, you'll undoubtedly have bad guys trying to break things. As a PHP developer, it's your responsibility to make sure your code is secure. John Coggeshall demonstrates one common PHP error that can leave you vulnerable, and he explains how to think like a bad guy to prevent these mistakes in the first place. Jul. 31, 2003

Common Style Mistakes, Part 2 by John Coggeshall
Writing code well means balancing expressiveness with elegance. Remember, you're writing code that must be maintained. In the second of a series on PHP Paranoia, John Coggeshall gives three tips to write code that's easier to understand. Jul. 10, 2003

A PHP Web Services Client by Adam Trachtenberg
Web services are promised to make your life easier. For now, a few companies allow you access to their data through web services APIs. Adam Trachtenberg, coauthor of PHP Cookbook, demonstrates how to write a PHP application to Amazon's web services API. Jul. 3, 2003

Common Style Mistakes, Part 1 by John Coggeshall
Programming securely is more than working down a list of checkboxes. You must adopt a security mindset. In the first of a series called PHP Paranoia, John Coggeshall explains several PHP style mistakes that make writing solid code more difficult. May. 29, 2003

Working with Forms in PHP, Part 2 by John Coggeshall
If you're doing any serious work with PHP, you'll eventually have to deal with file uploads. John Coggeshall explains how to process HTTP file uploads with PHP 4.3. May. 1, 2003

The Dynamic Duo of PEAR::DB and Smarty by Joao Prado Maia
It can be difficult to separate business logic and formatting in PHP. There are several good templating solutions, though, including the popular and powerful Smarty. Joao Prado Maia demonstrates how to use Smarty with a database back end through the PEAR::DB library. Apr. 17, 2003

PHP and Heredocs by Daniel Smith
Tired of having PHP, HTML, and even SQL jumbled together in the same file? Are your designers, coders, and DBAs going crazy trying to keep everything in check? A clean layer of separation can help. Daniel Smith explains how PHP's heredocs can make your life much easier by separating presentation, content, and logic. Apr. 10, 2003

Ten Security Checks for PHP, Part 2 by Clancy Malcolm
The same global access that makes web apps useful means that you have to keep on top of security. Though it's easy to create sites in PHP, it's not immune to sloppy coding. Clancy Malcolm explains how to recognize and fix five potential security holes with PHP in the second of two articles. Apr. 3, 2003

Compiling and Enabling GD in PHP 4.3 by Marco Tabini
PHP 4.3 ships with a bundled version of the GD graphics library. Unfortunately, compiling it successfully can still be troublesome. Marco Tabini explains how to make PHP and GD play together nicely--no matter what you want to accomplish. Mar. 27, 2003

Ten Security Checks for PHP, Part 1 by Clancy Malcolm
The same global access that makes web apps useful means that you have to keep on top of security. Though it's easy to create sites in PHP, it's not immune to sloppy coding. Clancy Malcolm explains how to recognize and fix five potential security holes with PHP in the first of two articles. Mar. 20, 2003

Working with Forms in PHP, Part 1 by John Coggeshall
PHP is handy for templating and displaying dynamic data, but you're missing its full power until you handle user data. John Coggeshall explains how PHP 4.3 handles form submissions securely and sanely. Mar. 13, 2003

Working with Permissions in PHP, Part 2 by John Coggeshall
Having explained the Unix security model in his last column, John Coggeshall explains the permissions functions in PHP and how to use them. Feb. 20, 2003

Working with Permissions in PHP, Part 1 by John Coggeshall
The last series of PHP Foundations explained the basics of files and directories. If you're making your files public, though, you need some security. PHP follows the Unix model of user, group, and world permissions. John Coggeshall explains the Unix permission model. Feb. 6, 2003

PHP 4.3 and Mac OS X by Adam Trachtenberg
The recently released version 4.3 of PHP lets you customize it with your favorite configuration. Adam Trachtenberg, coauthor of PHP Cookbook, shows you how to download, configure, and install your very own PHP on Mac OS X. Jan. 16, 2003

Working with Files in PHP, Part 3 by John Coggeshall
You've got files down. You can create, delete, rewind, and append with abandon. But where do you put them? In Part 3 of "Working with Files in PHP," John Coggeshall explains how to work with directories. Jan. 9, 2003

Working with Files in PHP, Part Two by John Coggeshall
The Web was once a purely-text medium, but no longer. Now it's spiced with images, movies, and sounds. What's a PHP programmer to do? With the return of John Coggeshall and in the second part of his series on working with files in PHP, he covers binary files. Dec. 12, 2002

Generating One-Time URLs with PHP by Daniel Solin
Not everything on the Internet is designed for archival. Some data is time- or recipient-sensitive and should be protected. Daniel Solin demonstrates how to generate URL access keys for sensitive data with PHP. Dec. 5, 2002

Internationalization and Localization with PHP by Adam Trachtenberg
Making your Web sites multilingual doesn't have to mean driving yourself crazy. Adam Trachtenberg, coauthor of the PHP Cookbook, demonstrates how to deliver translated text and images simply and easily. Nov. 28, 2002

Trip Mapping with PHP by David Sklar
Do PHP and cartography go together? David Sklar thinks so. In this article from the PHP Cookbook coauthor, he demonstrates how to plot your trips with PHP and census data. Nov. 7, 2002

Building a Simple Search Engine with PHP by Daniel Solin
Curious how a search engine works? Stuck on an intranet where you have to roll your own solution? In this article Daniel Solin shows how easy it is to build a simple search engine spider with PHP. Oct. 24, 2002

Working with Files in PHP by John Coggeshall
John Coggeshall covers the fundamentals of reading and writing text files in PHP. Oct. 3, 2002

Advanced PHP References by John Coggeshall
John Coggeshall discusses the concept of returning a reference from a function, followed by using references within objects. Sep. 12, 2002

Introducing Smarty: A PHP Template Engine by Joao Prado Maia
It is quite common for PHP developers to include other files in an effort to reuse code, however templates make that job easier and allow you to separate HMTL layout from code logic. Sep. 5, 2002

PHP References by John Coggeshall
PHP References are similar to C-style pointers. John Coggeshall explains how to get started using them. Aug. 16, 2002

Introduction to PHP Objects, Part 2 by John Coggeshall
John Coggeshall discusses PHP objects in more detail, including some of their more powerful features, such as inheritance and using objects as data-storage containers. Aug. 1, 2002

Introduction to PHP Objects, Part 1 by John Coggeshall
John Coggeshall introduces the basics of object-oriented programming with PHP. Jul. 18, 2002

Multiple File PHP Scripts by John Coggeshall
To promote the idea of reusing common functions within your PHP scripts, it is often necessary to be able to separate PHP code into multiple files. Jun. 20, 2002

Gettext by Joao Prado Maia
Joao Prado Maia introduces a set of GNU tools that helps packages manage multi-lingual messages on their applications.  Jun. 13, 2002

PHP Session Management With Cookies by David Lane
The stateless nature of HTTP allows applications to distribute content across multiple servers. However, applications that require complex user interaction can't be implemented as stateless web pages. Using sessions and cookies is one way around this. Excerpted from Chapter 8 of Web Database Applications with PHP & MySQLMar. 28, 2002

Improving Performance by Profiling PHP Applications by Joao Prado Maia
Dynamic Web pages don't have to be slow. Discovering where to optimize is usually harder than making the function faster. Joao Prado Maia shows us how to profile a PHP script to find where to optimize it. Feb. 28, 2002

Pear::DB Primer by Joao Prado Maia
Pear::DB provides a database abstraction layer for PHP allowing it to use most major databases, including MySQL, PostGreSQL, and MS SQL server. Joao Prado Maia explains how to use it and provides examples. Nov. 29, 2001

Peeking at Pear by Chris Coleman
Take a quick peek at Pear and learn what it does for PHP programmers. Oct. 19, 2001

Caching PHP Programs with PEAR by Sebastian Bergmann
PHP scripts are compiled and HTML is generated each time a web page is requested. Sebastian Bergmann uses PEAR caching to store these dynamic requests and speed up PHP web sites.  Oct. 11, 2001

Control Structures Revisited by John Coggeshall
A look at two new variations of the if(), while(), and for() statements as well as an introduction to a completely new structure, switch(). Aug. 23, 2001

Introduction to Functions: Part 2 by John Coggeshall
John Coggeshall tackles some of the more difficult topics dealing with functions, including variable scope, static variables, and return values.  Aug. 9, 2001

PHP's Encryption Functionality by W.J. Gilmore
Encryption and hashing allow you to secure and verify data. W. J. Gilmore introduces encryption functions and hashing methods available to PHP.  Jul. 26, 2001

A Detailed Look at PEAR by Joao Prado Maia
Joao Prado Maia sheds some light on some advanced coding techniques in PEAR, and teaches you how to read the PEAR source code. Jul. 19, 2001

An Introduction to Functions, Part 1 by John Coggeshall
Functions allow you to re-use code to repeatedly perform a procedure. John Coggeshall introduces PHP functions. Jul. 12, 2001

Getting Flashy With PHP by W.J. Gilmore
Looking to add animation to your website? W. J. Gilmore shows you how to add dynamic Flash animations to your website using PHP. Jun. 28, 2001

Arrays in PHP: Part 2 by John Coggeshall
John Coggeshall introduces associative and multidimensional arrays. Although arrays can be complex and difficult concepts, this tutorial makes them easy to understand. Jun. 21, 2001

PHP and Java by W.J. Gilmore
Find yourself wishing you could incorporate a Java applet into your latest PHP-powered web site? Wish no longer, W.J. Gilmore explains how to teach PHP to understand Java. Jun. 14, 2001

Arrays in PHP: Part 1 by John Coggeshall
John Coggeshall introduces the array, a PHP variable type that allows you to organize data more efficiently. He explains how arrays work and the fundamentals of using them. Jun. 7, 2001

An Introduction to PEAR by Joao Prado Maia
Find yourself wishing PHP had an easy way to manage additional modules? Joao Prado Maia explains PEAR and shows how it fills this role.  May. 25, 2001

Advanced PHP Variables and Functions by John Coggeshall
John Coggeshall explains how to use dynamic function and variable names, as well as variable-length argument lists passed to functions. May. 17, 2001

Session Tracking: Part 2 by W.J. Gilmore
Last week, W.J. Gilmore discussed how session tracking can add a whole new dimension to your site. This week, you'll learn how to create custom functions to store user session data.  May. 10, 2001

Embedding PHP in HTML by John Coggeshall
Extend your knowledge of embedded PHP by learning how it can be used to control the flow of a web page. John Coggeshall explains conditionals and repetition-control structures. May. 3, 2001

Session Tracking: Part I by W.J. Gilmore
Session tracking allows you to create web pages that are individually customized for your reader. W.J. Gilmore explains how easy it is to track site visitors with PHP. Apr. 26, 2001

Common PHP Installation Problems by Darrell Brogdon
Darrell Brogden details a few of the common mistakes users make when installing PHP. Apr. 26, 2001

Advanced Control Structures by John Coggeshall
John Coggeshall introduces advanced control structures and techniques, including multi-conditional "if" statements and an introduction to the "for" statement.  Apr. 19, 2001

Basic Control Structures by John Coggeshall
John Coggeshall covers the basics of program control structures, including conditional statements and looping using the if and while statements in PHP.  Apr. 5, 2001

PHP Networking by W.J. Gilmore
W.J. Gilmore explains the basic PHP networking functions, including how to use PHP to send e-mail, verify e-mail addresses, call operating system functions from within a script, and concludes the article with an explanation of how to query a WHOIS database for domain information. Apr. 5, 2001

Securing a PHP Installation by Darrell Brogdon
Darrell Brogdon shows us a few basic things that should be done to secure a PHP installation. Mar. 29, 2001

Introduction to Socket Programming with PHP by Daniel Solin
Daniel Solin uses a game analogy to show how PHP can be used to exchange data between two computers using network sockets.  Mar. 29, 2001

Variable Manipulation and Output by John Coggeshall
John Coggeshall covers basic variable manipulation and output, including math operators and strings.  Mar. 22, 2001

Installing PHP as an Apache DSO by Darrell Brogdon
Darrell Brogdon reviews how to install PHP as a dynamically shared object. This useful trick allows you to upgrade PHP without recompiling Apache. Mar. 15, 2001

Basic PHP Syntax by John Coggeshall
John Coggeshall covers basic PHP syntax, including variable usage, variable types, and how to print variables to the web browser. Mar. 8, 2001

An Introduction to PHP by John Coggeshall
John Coggeshall reviews the history of PHP and tells beginners how to get started with this versatile scripting language. Feb. 22, 2001

PHP Configuration Directives by Darrell Brogdon
Darrell Brogdon reviews some of the more useful PHP directives and provides coding examples. Feb. 15, 2001

Phorm Manager by Urb LeJeune
In part four of a series on HTML form handling with PHP, Urb LeJeune creates the Phorm Manager, a Swiss Army knife of HTML form handling. Jan. 25, 2001

The PHP Configuration File by Darrell Brogdon
Darrell Brogdon explains how the php.ini file works. Jan. 11, 2001

Installing PHP on a Windows System by Darrell Brogdon
Darrell Brogdon explains the steps required to install PHP on a Windows system. Dec. 14, 2000

PHP With HTML Forms by Urb LeJeune
In part two of a series on using PHP and HTML forms, Urb LeJeune shows us how to create dynamic input fields such as radio buttons, check boxes, and drop menus. Dec. 1, 2000

Basic Installation of PHP on a Unix System by Darrell Brogdon
Need a powerful replacement for ASP web scripting? Darrell Brogden walks us through compiling and installing PHP, an open source web scripting language that you can embed into HTML. Nov. 17, 2000

Creating Dynamic Next / Previous Buttons with PHP and MySQL by Joao Prado Maia
Need to add Next / Previous buttons to your web site? Joao Prado Maia shows us how to program these buttons with a dynamic, reusable class using PHP and MySQL or PostGreSQL. Nov. 2, 2000

Using PHP to Interpret Forms by Urb LeJeune
PHP has built in functionality for dealing with HTML forms. Urb LeJune shows us how to tap into these powerful features. Oct. 12, 2000

Uploading, Saving and Downloading Binary Data in a MySQL Database by Joao Prado Maia
Joao Prado Maia explains how to upload and store binary data in a MySQL database using PHP. He includes the complete source code for all the scripts involved. Sep. 15, 2000

PHP Pocket Reference by Rasmus Lerdorf
The introductory chapter excerpted from O'Reilly's "PHP Pocket Reference," a handy quick reference for PHP, an open-source, HTML-embedded scripting language that can be used to develop web applications. Jul. 10, 2000

Sponsored by: