Skip to Content.
Sympa Menu

freetds - Re: FreeTDS && PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Darryl Friesen" <Darryl.Friesen AT usask.ca>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: FreeTDS && PHP
  • Date: Thu, 15 Nov 2001 10:12:26 -0600


>> You need to use TDS 7.0 (not 4.2) for varchar and text fields.
>
> I have already tested it, but then we have problem with Russian.

Then I think you're stuck. My understanding is that without TDS7 you can't
use varchar fields longer than 255 characters.


>> I can use either the sybase_* functions or the mssql_* funtions in
>> PHP without problems (Solaris 8 machine). I think both get compiled
>> in when you you build PHP with --with-sybase or --with-sybase-ct.
>
> It's impossible to complile with the dblib and ctlib both - do you
> understand what are you talking about ?

Yes I think so. That's why i said --with-sybase _OR_ --with-sybase-ct. I
built PHP using --with-sybase-ct; I have some code that uses the mssql
functions, and some that use the sybase functions (not in the same script
mind you). Both work. I didn't have to do anything special to compile the
code in ext/sybase, ext/sybase_ct or ext/mssql -- PHP takes care of that for
you.


- Darryl

----------------------------------------------------------------------
Darryl Friesen, B.Sc., Programmer/Analyst Darryl.Friesen AT usask.ca
Education & Research Technology Services, http://gollum.usask.ca/
Information Technology Services Division,
University of Saskatchewan
----------------------------------------------------------------------
"Go not to the Elves for counsel, for they will say both no and yes"






Archive powered by MHonArc 2.6.24.

Top of Page