ID: 6069 Updated by: joey Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Sybase (dblib) related Operating system: PHP Version: 4.0 Latest CVS (10/08/2000) Assigned To: Comments: Just don't specify a 4th param to pconnect. This is an optional parameter, and should not cause any problems if nothing is set here. Previous Comments: --------------------------------------------------------------------------- [2000-08-10 06:44:44] [EMAIL PROTECTED] the new pconnect function does not work properly with freetds because freetds apparently does not support the DBSETLCHARSET command if the following changes are made to the sybase_db.c file it compiles properly with freetds if (user) { DBSETLUSER(sybase.login,user); } if (passwd) { DBSETLPWD(sybase.login,passwd); } //if (charset) { // DBSETLCHARSET(sybase.login,charset); //} --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6069&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]