From: docv00d00 at hotmail dot com Operating system: windows 2003 PHP version: 4.3.6 PHP Bug Type: MSSQL related Bug description: mssql_select_db() 30 chars
Description: ------------ mssql_select_db() doesnt let you select a database thats longer than 30 characters? Reproduce code: --------------- $Server = "server\\server,1433"; $User = "sa"; $Pass = "password"; $DB = "Thirty_Characters_or_more_db_name_here"; $s = mssql_connect("$Server", "$User", "$Pass"); $d = mssql_select_db("$DB", $s)or die("Couldn't open database $DB"); Expected result: ---------------- unable to select 'Thirty_Characters_or_more_db_na' from sysbase table... Actual result: -------------- same as above -- Edit bug report at http://bugs.php.net/?id=28192&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28192&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28192&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28192&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28192&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28192&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28192&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28192&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28192&r=support Expected behavior: http://bugs.php.net/fix.php?id=28192&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28192&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28192&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28192&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28192&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28192&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28192&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28192&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28192&r=float