Skip to Content.
Sympa Menu

freetds - RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP
  • Date: 14 Oct 2002 21:17:04 +0200


> > >
> > > I have just moved my php code to ctlib (from dblib, not odbc,
> > > admittedly).
> > > Everything's pretty much transparent (I was using the mssql
> > > aliases for the
> > > sybase functions), apart from one gotcha. That is that ctlib doesn't
> > > implement:
> > >
> > > - (mssql|sybase)_min_message_severity
> > > - (mssql|sybase)_min_error_severity
> > > - (mssql|sybase)_get_last_error
> >
> > Tom,
> >
> > Would you know what ct-lib functionality is missing in FreeTDS's
> > implementation that supports these PHP functions? Nick's
> > done a lot of work
> > lately on our message handling; maybe we're only a short hack
> > away from
> > eliminating your "gotcha".
> >
> > Thanks for mentioning it in any case. If we can't fix it, it
> > should be
> > documented.
> >
> > Regards,
> >
>
> Perhaps problem is in php (mentioned function are php functions)...
> Or perhaps php use strange functions for reading errors
>
> freddy77
>

I checked PHP code (sybase_ct) and these functions are implemented.
I think you should set in your php.ini value to avoid error on html.
See manual about sybct.min_server_severity and sybct.min_client_severity
settings.

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page