PHP 4/MS Sql Server
| From: | Louis Romestant | Date: | Tue, 04 Dec 2001 04:27:55 +0000 |
| Subject: | PHP 4/MS Sql Server | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10714@lists.php.net to get a copy of this message | ||
I've been doing this:
<?
$cn=mssql_connect (<IP address>, <UID>, <PWD>);
mssql_select_db(<db> , $cn);
?>
And it works like a dream on servers over which I have control. My ISP
supports PHP4 (on Windows) and Ms Sql Server. They setup a db for me which
I can connect to using Enterprise Manager. No matter how I cast
mssql_connect(), thought, I can't get to their server from a script. I've
tried names and ip addresses. Phpinfo() shows mssql extensions.
Is there some other way I can connect?