#18687 [Bgs->Opn]: DB/Interbase DSN Problem in Windows
| From: | rotherme at andrews dot edu | Date: | Mon, 05 Aug 2002 13:03:01 +0000 |
| Subject: | #18687 [Bgs->Opn]: DB/Interbase DSN Problem in Windows | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8175@lists.php.net to get a copy of this message | ||
ID: 18687
User updated by: rotherme@andrews.edu
Reported By: rotherme@andrews.edu
-Status: Bogus
+Status: Open
Bug Type: PEAR related
Operating System: Windows 2000
PHP Version: 4.2.2
New Comment:
I just verified the code at work and that is exactly what I have.
ibase://user:pass@host/c:\foo\bar.db is what I'm using, and it doesn't
work with that "extra" forward slash.
Previous Comments:
------------------------------------------------------------------------
[2002-08-02 08:08:37] cox@php.net
If you are using the last PEAR DB release
(http://pear.php.net/package-info.php?pacid=46), use:
ibase://user:pass@host/c:\foo\bar.db
Tomas V.V.Cox
------------------------------------------------------------------------
[2002-08-01 11:16:29] rotherme@andrews.edu
Windows uses back slashes, so line 82 breaks it:
($dsninfo['hostspec'] . ':/' . $dsninfo['database'])
:
That would be something like:
$dsninfo['hostspec'] . ':/c:\db\db.gdb'
Which doesn't work. If line 82 is changed to
($dsninfo['hostspec'] . ':' . $dsninfo['database'])
:
(no slash), then it does work.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18687&edit=1