|
|
|
|
|
|
| Author |
Message |
Dan Scott *nix forums beginner
Joined: 08 Jun 2005
Posts: 21
|
Posted: Fri Feb 25, 2005 11:04 am Post subject:
Re: Connect to DB2 database through PHP WITHOUT ODBC ?
|
|
|
Dan Scott wrote:
| Quote: | Markus Keuthmann wrote:
Hi,
is it possible to connect to a DB2 database through PHP WITHOUT ODBC
like in MySQL?
Example MySQL:
// Open the database connection and use the sample
// database
$connection = mysql_connect("localhost","user1","xxxx");
mysql_select_db("sample", $connection);
Best regards
Markus
Check developerWorks tomorrow for an article (by yours truly) that
describes how to compile the Unified ODBC extension directly against the
DB2 CLI libraries. It's "ODBC" in name only at that point.
Dan
|
Update: The article is now available at
http://www.ibm.com/developerworks/db2/library/techarticle/dm-0502scott/
Dan |
|
| Back to top |
|
 |
Dan Scott *nix forums beginner
Joined: 08 Jun 2005
Posts: 21
|
Posted: Thu Feb 24, 2005 12:32 am Post subject:
Re: Connect to DB2 database through PHP WITHOUT ODBC ?
|
|
|
Markus Keuthmann wrote:
| Quote: | Hi,
is it possible to connect to a DB2 database through PHP WITHOUT ODBC like in MySQL?
Example MySQL:
// Open the database connection and use the sample
// database
$connection = mysql_connect("localhost","user1","xxxx");
mysql_select_db("sample", $connection);
Best regards
Markus
|
Check developerWorks tomorrow for an article (by yours truly) that
describes how to compile the Unified ODBC extension directly against the
DB2 CLI libraries. It's "ODBC" in name only at that point.
Dan |
|
| Back to top |
|
 |
Ian *nix forums Guru Wannabe
Joined: 02 Aug 2005
Posts: 262
|
Posted: Wed Feb 23, 2005 10:30 pm Post subject:
Re: Connect to DB2 database through PHP WITHOUT ODBC ?
|
|
|
Markus Keuthmann wrote:
| Quote: | Hi,
is it possible to connect to a DB2 database through PHP WITHOUT ODBC like in MySQL?
Example MySQL:
// Open the database connection and use the sample
// database
$connection = mysql_connect("localhost","user1","xxxx");
mysql_select_db("sample", $connection);
Best regards
Markus
|
Although the PHP interface to DB2 uses the unified odbc_* functions,
my understanding is that they are coded to use DB2 CLI.
They do *not* require an ODBC driver manager to function properly. |
|
| Back to top |
|
 |
Markus Keuthmann *nix forums beginner
Joined: 23 Feb 2005
Posts: 1
|
Posted: Wed Feb 23, 2005 12:10 pm Post subject:
Connect to DB2 database through PHP WITHOUT ODBC ?
|
|
|
Hi,
is it possible to connect to a DB2 database through PHP WITHOUT ODBC like in MySQL?
Example MySQL:
// Open the database connection and use the sample
// database
$connection = mysql_connect("localhost","user1","xxxx");
mysql_select_db("sample", $connection);
Best regards
Markus |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 3:42 am | All times are GMT
|
|
Satellite TV | Mortgage Calculator | Pacotes Reveillon Salvador | Hotels in Rome | Just Holden Commodores
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|