PHP Classes

PDO for PHP 4: PDO database abstraction interface for PHP 4

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 4,072 All time: 760 This week: 488Up
Version License Categories
pdo 1.0.0The PHP LicenseDatabases


This package implements the PDO database abstraction interface that is compatible with PHP 4.

PDO is an extension introduced in PHP 5 that provides a common interface to several types of relational databases.

Since PDO only became standard extension with PHP 5.1 and very few hosting companies provide PHP 5.1 servers, the idea of this package is to provide an implementation of the PDO API that works under PHP 4 without special extension in a compatible way to the PHP 5 extension.

Innovation Award
PHP Programming Innovation award nominee
September 2005
Number 3

Prize: One copy of the Zend Studio
PDO is extension that aims to provide a common API to access different types of databases.

The original PDO extension requires PHP 5. However, PHP 5 is currently only being used in about 4% of the PHP hosts, against about 95% that still use PHP 4.

This package provides an API compatible with PDO but it works in PHP 4. It makes possible using PDO by developers that use only PHP 4, without having to upgrade their PHP hosts.

Manuel Lemos
Picture of Andrea Giammarchi
Name: Andrea Giammarchi <contact>
Classes: 17 packages by
Country: Italy Italy
Age: 46
All time rank: 192 in Italy Italy
Week rank: 286 Down15 in Italy Italy Down
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Plain text file PDO.class.php Class PDO generic database driver
Plain text file PDOStatement_mysql.class.php Class MySQL PDOStatement
Plain text file PDOStatement_pgsql.class.php Class PostgreSQL PDOStatement
Plain text file PDOStatement_sqlite.class.php Class SQLITE PDOStatement
Accessible without login Plain text file PDO_Example_Script.php Example Example File to test PDO for PHP
Plain text file PDO_mysql.class.php Class Class for MySQL connection
Plain text file PDO_pgsql.class.php Class Class for PostgreSQL connection
Plain text file PDO_sqlite.class.php Class Class for SQLITE connection

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:760
This week:488Up
User Ratings User Comments (1)
 All time