If you continue to see ugly things when trying to connect php and MS SQL Server, here is a kludge I have used in a similar situation:

Use a java wrapper class and jdbc driver to handle the interaction.  The only trouble I had was passing BLOBs, but I just made a special wrapper to deal with them specifically.

Probably not portable, but it might get you up and running more quickly than researching the other options.

Brent Friedman

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list