PHP and ODBC

phpodbc logo Developing PHP apps that connect with enterprise data using ODBC.

By AugSoft

There are many books on PHP that show how to forever constrain your code so that it only works with MySQL (see why that's bad). This site shows how to write PHP apps for Linux, Mac OS X and Windows that work with almost every version of every database ever created using the de facto industry standard Open Data Base Connectivity (ODBC) API.


“With ODBC, any PHP app, even on Linux or Mac, may use the same code to simultaneously work with thousands of Windows, UNIX and mainframe database servers, including QuickBooks, MySQL, DB/2, Informix, MS-Access, ORACLE, SQLServer, Pick, FileMaker Pro, Pervasive, ISAM and Rdb/VMS.”


Crash Course in ODBC
When using PHP on Linux and Mac, most web servers will also need network access to an ODBCrouter: running in a Windows VM or PC, so that the database's officially supported ODBC driver may be used. This is a restriction imposed by the database vendors, there's more about non-Windows ODBC drivers on the History and Overview page.

History and Overview...

Configuring PHP for ODBC
Apple Macintosh or XServe...
Linux...
Windows...

Developing PHP apps with ODBC

note: more code examples and reference info coming...
More info on PHP for ODBC
ODBC on the PHP mothership.