ID:               23325
 Comment by:       byoung at bigbluehat dot com
 Reported By:      fritz at lateral dot net
 Status:           No Feedback
 Bug Type:         MSSQL related
 Operating System: Win 2000
 PHP Version:      4.3.1
 New Comment:

2007 - PHP 5.2.3 still have this issue.

Connection to MSSQL databases with dash continues to fail (using
FreeTDS 0.63). Databases without dashes in the name connect without
error.


Previous Comments:
------------------------------------------------------------------------

[2006-10-10 18:00:36] chris at sugarcrm dot com

2006 - PHP 4.4.2/4 and PHP 5.1.2/4 still have this issue.

The same code use-case is valid: try to connect to a MSSql database
with dashes in the name, and the connection will fail.

------------------------------------------------------------------------

[2003-05-09 07:35:01] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-04-30 06:13:24] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2003-04-28 07:29:08] fritz at lateral dot net

Try creating a database called php-bugs-list and one 
called php_bugs_list.

mssql_connect('localhost','username','pwd') or die 
'mssql_connect error';
mssql_select_db('php-bugs-list') or die 
'mssql_select_db error';

mssql_connect('localhost','username','pwd') or die 
'mssql_connect error';
mssql_select_db('php_bugs_list') or die 
'mssql_select_db error';

I am not 'demanding' a fix - I have learnt that I will 
avoid errors by having no dashes in the database name. 
My problem is solved.
I tried to share this with other php users, If you want 
to use this information to improve php you are welcome 
to it - but please don't waste my time by being anal 
about how the bug is reported.

And that's the end of it, AFAIAC.

------------------------------------------------------------------------

[2003-04-28 07:11:52] [EMAIL PROTECTED]

my my my... what a nice attitude we have again. From the "How to report
a bug" page:

    * Provide code that demonstrates the problem, it should almost
never be more than ten lines long. Anything longer probably contains a
lot of code that has nothing to do with the problem, which just makes it
take longer to figure out the real problem. (But don't forget to make
sure that your code still demonstrates the bug you're reporting and
doesn't have some other problem because you've accidently trimmed out
something you thought wasn't important but was!)

The URL for this is: http://bugs.php.net/how-to-report.php

Don't forget we're volunteers and are not particulary fond of people
who start shouting and demand a fix while they are not willing to
produce a useful bugreport.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/23325

-- 
Edit this bug report at http://bugs.php.net/?id=23325&edit=1

Reply via email to