ODBC -- Setting ApplicationID with PHP

From: Date: Fri, 22 Mar 2002 01:47:52 +0000
Subject: ODBC -- Setting ApplicationID with PHP
Groups: php.general 
Request: Send a blank email to php-general+get-89631@lists.php.net to get a copy of this message
I am trying to set the ApplicationID, when connecting to an ODBC datasource. I have tried: odbc_setoption ($conn, 1, 1053, "PHPAPP"); And get a: "SQL error: [iODBC][Driver Manager]Option type out of range, SQL state S1092 in SetConnectOption" Basically, I want my PHP script to pass the application name to the ODBC server, so that I can set up a mapping on the server that allows write access when a certain application string is sent. PHP 4.06 (with file-upload patch) Openlink ODBC 1.5 Linux Client SCO Informix 5 server TIA- Bruce

« previous php.general (#89631) next »