My final say on Empress RBDMS and PHP
| From: | Steve Williams | Date: | Fri, 11 Dec 1998 20:00:25 +0000 |
| Subject: | My final say on Empress RBDMS and PHP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2788@lists.php.net to get a copy of this message | ||
I have completed my updates for Empress RDBMS in PHP.
There is one outstanding issue that should be addressed, but I am not
confident enough to make the change - someone with a sounder knowledge
of the unified_odbc.c file should look at it.
Binary images are displayed when odbc_result_all is called. This is
because binmode is set to 1, and this allows the data through...
The code: line 1579 -
case SQL_LONGVARBINARY:
if (result->binmode <= 0){
php3_printf("<td>Not printable</td>");
break;
}
if (result->binmode <= 1) sql_c_type = SQL_C_BINARY;
I THINK that the data should NEVER be displayed in a HTML table,
therefore the code should be:
case SQL_LONGVARBINARY:
php3_printf("<td>Not printable</td>");
break;
But I'm not sure.
Steve
--
Steve Williams Interactive Media & Tools Group
Empress Software Inc. http://www.empress.com
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net