ODBC in PHP: setting SQL_ATTR_TRACE

From: Date: Fri, 27 Jun 2003 14:12:55 +0000
Subject: ODBC in PHP: setting SQL_ATTR_TRACE
Groups: php.general 
Request: Send a blank email to php-general+get-153141@lists.php.net to get a copy of this message
I've been reading about ways to help secure an application against database hacking, and I've read more than once now that it's wise to turn off tracing within the ODBC drivers when issuing sensitive commands, by setting SQL_ATTR_TRACE to SQL_ATTR_OFF. But I can't figure out how to do that with the odbc_* functions. The closest I could come was odbc_setoption(), but the manual cautions against using this function in a production environment. Is there a way to pull this off in PHP? -- Jeff S.

« previous php.general (#153141) next »