Handling of binary / long fields has been changed as of RC2.
There are 2 new functions: odbc_binmode() and odbc_longreadlen() that
control binary / long field handling. Please see the manual for more
information on these functions.
Usage example:
odbc_binmode(0, 1); // Return binary data as is to variable
odbc_longreadlen(0, 4096); // Return LONG fields in chunks of 4096 bytes
// ^ Means apply to all following results
$res_id = odbc_do(...)
.
.
while(odbc_fetch_row($res_id)){
while($chunk = odbc_result($res_id, $field)){
$mystring .= $chunk;
}
// Do something with $mystring
...
}
How to connect to MS SQL 6.x+ database server via ODBC functions of
PHP3 compiled with iODBC and Openlink drivers under Linux. Categories : Databases , MS SQL Server , PHP , ODBC php for odbc /* connect to access from odbc */ Categories : PHP Classes , ODBC , MS Access , PHP Time out when trying to get some data out of a big table
in a large relational database. Categories : ODBC , WinNT , PHP How to access MS Excel spread sheets from PHP Categories : PHP , Excel , ODBC , Databases ADODB Database Wrapper Abstraction Library for PHP: MySQL, MSSQL,
Oracle, Interbase,ODBC, Microsoft Access and FoxPro. Categories : PHP Classes , Databases , PHP , General SQL , ODBC Query2Report : Generating Html, Pdf and Csv Reports from SQL Query Categories : PHP , PHP , HTML , PDF , Excel Dynamic WHERE CLAUSE depending on number of FORM FIELDS Categories : ODBC , General SQL , PHP , Complete Programs , Databases UDMSearch - a free search engine, indexing system. Categories : Search Engines , Linux , PHP , MySQL , ODBC This is a small Web Phone Database which is written in PHP3
and utilizes a ODBC Data Source. Categories : PHP , ODBC Modification of Shane Caraveo's guestbook. Uses ODBC...some code modifications Categories : ODBC , Databases , Complete Programs , PHP This is Yet Another Sql Abstraction Library. Include it in your script and you can use the most important SQL functions without worrying about the SQL backend. Categories : Databases , PHP , ODBC , MySQL , PostgreSQL db2tab.php - Simple scripts to access IBM DB2 Universal DataBase tables through PHP ODBC funtions. Categories : Databases , PHP , ODBC A set of functions sitting on top of the abstraction layer that makes it a little easier to do SQL stuff. Documentation is within Categories : Databases , ODBC , Complete Programs , PHP Voting Machine with Access 97 Categories : PHP , ODBC , WinNT , MS Access , Complete Programs A very simple database abstraction layer for the PHP 3.0 ODBC module. Categories : ODBC , PHP