> Is is possible to set the connection object to point to a database on
> another server?  I'm using SQLserver and IIS and would like to point the
> connection object to the SQL server.  SQL server is on one
> computer and IIS is on another.

Yep. That's part of the mssql_connect(); syntax.

$conn = mssql_connect("ComputerName", "Account", "Password");

The name is generally the name of your other box (or IP address, if it's
static), account is the sql account you're using to connect and password,
is, um, the password.

More info:
http://www.php.net/manual/en/function.mssql-connect.php

Enjoy,
- Erik


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to