On 2/15/2010 12:36 PM, CED wrote:
Has anyone ever configured this?

I have followed several online suggestions and still no luck, a fail
authentication error is all i receive from this:

CODE:
<?php
echo 'trying to connect' ;
$server = 'SERVERNAME\INSTANCE';
$link = mssql_connect($server, 'username', 'password');
if (!$link) {
die('Something went wrong while connecting to MSSQL');
}
?>

Do you have TCP/IP enabled? That is turned off by default in MSSQL. Why? Because everyone needs it....

David
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to