[PHP-WIN] Connecting to a remote database server

2003-08-27 Thread Harpreet
I am using the following to connect to the database through my php page. Now I want to host the website on another server and conenct to the database on another machine. How do i change my code. Do i just change the path to the computer name $_SESSION["hostname"] = "computer name"; $_SESSION["dbna

Re: [PHP-WIN] Connecting to a remote database

2002-04-18 Thread Steff
ios.com > > > > -Original Message- > From: R.S. Herhuth [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 18, 2002 3:57 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Connecting to a remote database > > > Newbie alert! > > > I am able to connect

RE: [PHP-WIN] Connecting to a remote database

2002-04-18 Thread Matt Babineau
: R.S. Herhuth [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 3:57 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Connecting to a remote database Newbie alert! I am able to connect to a SQL Server Database on my local network by specifying the host as "testHost" the datab

[PHP-WIN] Connecting to a remote database

2002-04-18 Thread R.S. Herhuth
Newbie alert! I am able to connect to a SQL Server Database on my local network by specifying the host as "testHost" the database is "DB". My question is if I'm outside the network what is the correct syntax that I need to call in the host in order to access the database? Thanks, ROn -- PHP