Nope, it depends on the driver manager you are using, and I believe the
first example has been deprecated in nearly all cases. Why do you need to
use the first?
Just use variables:
$dsn=dsnname;
$uid=user;
$pwd=password;
odbc_conenct($dsn, $uid, $pwd)
Best regards,
Andrew Hill
Director of
I am attempting to use oPAYc (www.opayc.com) as a central method of payment
processing. In order to pass information like different store configs or
certificates at runtime, I need to pass them in the DSN string area. I'm
using iODBC right now.
- Jonathan
Andrew Hill [EMAIL PROTECTED] wrote in
On Tuesday 28 August 2001 22:05, Jonathan Hilgeman wrote:
Okay, all I need to know is this:
Some people say that they can only connect with:
odbc_connect(DSN=Datasource;UID=username;PWD=password,,);
Others say that doesn't work, and that they can only connect with:
if($TFM_Doesnt_Have_Anything_About_It == 1)
{
$Shut_Yer_Unhelpful_Trap = 1;
$You-RTFM see();
}
Yves Glodt [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
if ($RTFM == 1) {
int odbc_connect (string dsn, string user, string password [, int
cursor_type])
}
Providers
-Original Message-
From: Jonathan Hilgeman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 4:15 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] ODBC Woes
I am attempting to use oPAYc (www.opayc.com) as a central method
of payment
processing. In order to pass