XAMPP +MSSQL

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

XAMPP +MSSQL

Postby sj » 04. February 2008 23:27

Sorry if this topic have been posted before..

But urgently.. i need ur help.
I want to make connection using XAMP version 1.0, PHP 5, MSSQL
2005 EXPRESS EDITION (APPLE/SQLEXPRESS)

my code is
<?php
print("Calling 'APPLE'\n");
mssql_connect('APPLE','sa','abc123');
?>
and i have do this :
extension=php_mssql.dll -> uncomment it
ntwdblib.dll version 2000.2.8.0 -> in folder c:/apachefriends/xampp/php

but the answer is always
Warning: mssql_connect(): Unable to connect to server:
LOCALHOST in C:\apachefriends\xampp\htdocs\mssql\index.php on line 2

y?? anyone can help me


:(
sj
 
Posts: 1
Joined: 04. February 2008 23:20

Postby Scory » 05. February 2008 11:56

From http://de2.php.net/manual/en/function.mssql-connect.php

mssql_connect() establishes a connection to a MS SQL server. The servername argument has to be a valid servername that is defined in the 'interfaces' file.
Scory
 


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 25 guests