ID: 24032 User updated by: baloo at cinemasie dot com Reported By: baloo at cinemasie dot com -Status: Feedback +Status: Open Bug Type: MSSQL related Operating System: Windows 2000 Server PHP Version: 4.3.2 New Comment:
$s= @mssql_connect("192.10.2.5", "bmssa", "bmssa_pwd") or die ("Serveur non joignable"); [EMAIL PROTECTED]("AxTebubio_30_tests", $s) or die ("Base impossible à ouvrir"); => always gives "BASE IMPOSSIBLE A OUVRIR" ("impossible to open the database") Previous Comments: ------------------------------------------------------------------------ [2003-06-05 02:28:21] [EMAIL PROTECTED] Provide the shortest possible script that reproduces it. ------------------------------------------------------------------------ [2003-06-05 02:21:41] baloo at cinemasie dot com I have installed PHP on a Windows 2000 Server with IIS 5.0. I try to access to another server with Sql Server 2000. Everything works fine, except that I can't open any database whose name includes a "-" (with the "mssql_select_db" function). I thought it could be a problem with SQLServer, but some other applications don't have any problem with those databases. PHP is configured to work with ISS with the following parameter: cgi.force_redirect = 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24032&edit=1