note 20089 rejected from function.odbc-setoption by alindeman
| From: | alindeman@php.net | Date: | Fri, 22 Mar 2002 01:43:46 +0000 |
| Subject: | note 20089 rejected from function.odbc-setoption by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28058@lists.php.net to get a copy of this message | ||
I'm looking to use this option to set the ApplicationID that is sent to the server. I would
like to do this so I can write different mappings on the server, so different PHP scripts have write
access to the db. Can anyone help?
I have tried:
odbc_setoption ($conn, 1, 1053, "PHP");
But I receive this error:
Warning: SQL error: [OpenLink][ODBC][Driver]Option type out of range, SQL state S1092 in
SetConnectOption in
I know the driver supports this option, because Windows clients send ApplicationID's just fine.
My PHP scripts send nothing:
20:25:28 connectopts= user=bruceg opsys=unix machine=linux.server application=
Any help is appreciated.