#18687 [Opn->Bgs]: DB/Interbase DSN Problem in Windows
| From: | cox@php.net | Date: | Fri, 02 Aug 2002 12:08:38 +0000 |
| Subject: | #18687 [Opn->Bgs]: DB/Interbase DSN Problem in Windows | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8143@lists.php.net to get a copy of this message | ||
ID: 18687
Updated by: cox@php.net
Reported By: rotherme@andrews.edu
-Status: Open
+Status: Bogus
Bug Type: PEAR related
Operating System: Windows 2000
PHP Version: 4.2.2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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