FreeTDS && PHP
Darryl Friesen
Darryl.Friesen at usask.ca
Thu Nov 15 11:12:26 EST 2001
>> 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"
More information about the FreeTDS
mailing list