odbc_connect() without user and password

From: Date: Tue, 21 Jun 2011 17:54:59 +0000
Subject: odbc_connect() without user and password
Groups: php.general 
Request: Send a blank email to php-general+get-313634@lists.php.net to get a copy of this message
Hi, I'd like to specify the credentials rather in the application specific .odbc.ini than in the source code. I also don't like to create config file parsing overhead. Why isn't the the user and password parameters in odbc_connect() optional? The unixODBC test tool isql works fine without specifying credentials, ie. it takes them automatically out of the odbc.ini if available. Kind regards Marten

« previous php.general (#313634) next »