Connecting to db on a different machine
| From: | Scott Fletcher | Date: | Wed, 27 Dec 2000 16:33:11 +0000 |
| Subject: | Connecting to db on a different machine | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-5453@lists.php.net to get a copy of this message | ||
Hiya Everyone!
I'm a bit stump on how can I do this. I'm doing a webpage that connect
to the database using PHP. Right now I have a 2nd website which is on a
different machine and I have not yet figure out how to write the script that
would allow the website on the different machine to hook up to the original
machine which host the 1st website and have a database.
I found that odbc_connect is not hte way to go because it only include
the database table, username and password but lack the machine name.
Anyone know? Thanks!
Scott