Skip to Content.
Sympa Menu

freetds - Re: [freetds] TDS wants to show me raw hex via PHP from MSSQL2k

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] TDS wants to show me raw hex via PHP from MSSQL2k
  • Date: Tue, 5 Aug 2003 19:29:36 -0400

On Tue, 5 Aug 2003 <fast_eddie_007 AT yahoo.com> wrote:
> Trying to pull an Image field from MSSQL2000 [...]
> Can get it to echo out as hex characters, but that looks a bit goofy.

Who doesn't prefer hex to pixels?

> It works fine via an ODBC connection. But FreeTDS wants to just show it
> as is. Header is set. what am i missing??? I am running it as version
> 8.0 in the freetds.conf file

Are you using PHP with FreeTDS's ODBC driver, or db-lib? How was PHP
configured?

There is/was an error in PHP; it automatically converted inage data to
char. See messages on 8-10 March Sb: "Image Data converted to Text/String
out of MSSQL??" That would affect a db-lib connection.

I don't know whether or not it was fixed.

Our ODBC driver had a problem with image data that was fixed with patch
727555 on 3 May.

> And the searchable archive has been offline for about 3 days now.

Seem OK now.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page