Sleeping and waking up in PHP

Nov 30, 2010 Author: Dusan
PHP provides a hook mechanism so that objects can specify what should happen just before serialization and just after unserialization. The special member function __sleep() (that’s two underscores before…

base64_encode

Sep 05, 2010 Author: Jenna
Encodes the given data with base64.

Creating a bank_account Class

Nov 06, 2009 Author: Developer
To demonstrate the use of a class, let's create one to model a bank account.

How many visitors browsing the site at the moment?

Sep 30, 2009 Author: Dr_ViRuS
In this tutorial will show you how to make a class that will show how many users browsing the site at the moment. First, how work this class and its function. For his realization normally need a Apache…

Filtering Iterators

Aug 18, 2009 Author: Developer
The FilterIterator class can be used to filter the items returned by an iteration: