« ODBC fetch speed | Main | The Pudding Theory »
August 20, 2003
PHP Blob support
Clara Liu, of Zealworks, had sent me a patch many moons ago that incorporated blob and clob support to the PHP ODBC functions. After having looked over it awhile I had decided that I really didn't understand the how the patch would work. I was hesitant to add such a change to the PHP source. Looking at my saved emails from the conversation she never really explained how or why this patch would work either, so I put it off until I could later look at it. What was so confusing about the patch? She copied the SQL_LONGVARBINARY portions of code and just renamed them to SQL_BLOB. It seems now that there are a significant number of users asking/requesting for BLOB support within the PHP system, and as such I would like to present to those users her patch for testing. Just be nice to my slow internet connection please.
The patch is done from a recent snapshot of CVS for PHP 5, but should be easily backported to PHP 4.3 systems. You can find the patch file at http://www.deadmime.org/~dank/blob_patch. If this works, thank Clara Liu for her efforts some how :)
If this works or does not work for you, please let me know via blog comments, trackbacks, or even email. Thanks for your time.
Posted by Dan at August 20, 2003 06:51 PM
Comments
fs
Posted by: Dave at March 15, 2004 10:35 AM