Thanks for the link, looks like some useful information!

Incidentally, I carried out a bit more testing and discovered that the FreeTDS/ODBC method outlined in the original article I wrote doesn't return results for some of the queries in the web app I'm working on (i.e. no rows are found, even though there should be some). The exact same query does return results when using pdo_dblib, so it appears that there are other problems than the bindParam() segfault with the use of FreeTDS via ODBC.

CAPTCHA