ODBC Linux and NT
| From: | Damian Sobieralski | Date: | Tue, 05 Sep 2000 16:06:48 +0000 |
| Subject: | ODBC Linux and NT | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2620@lists.php.net to get a copy of this message | ||
Hi,
I am new to the listserv and PHP (2 weeks and going) and have a situation
where I would like some advice. We currently have our database sitting on
an HP3000 running MPE. We have a nifty ODBC way to get to the data. I
have throughly enjoyed using PHP and it's ODBC method for fetching data
off the HP via this driver for web presentation. However, this current
setup has PHP, apache and PHP all on the same box (NT). Our webservers are
Linux ones and I was wondering if there is any way to proxy an ODBC
connection? Basically what I would like to do is have Apache/PHP on Linux
to make an ODBC_CONNECT call to the NT box (BTW- ONLY NT drivers are avail
for the DB) and have the NT box proxy into the HP...blah blah....
If I cannot find a better method I am going to have to write some code
sitting on a socket on the NT box to handle the database connection
requests. But this will require using socket routines from PHP and not
the ODBC stuff (which I really, really want to use. Very easy to do
things :)
Anyways, does anyone have any ideas on if there is a product out there which
can proxy ODBC connections like this?