Re: Connecting to InterBase Database.
| From: | Andy Hoffman | Date: | Thu, 26 Oct 2000 18:20:20 +0000 |
| Subject: | Re: Connecting to InterBase Database. | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3532@lists.php.net to get a copy of this message | ||
Daniel Beulshausen wrote:
> > <?
> > $dbh =
> > ibase_connect("c:\delphi5\projects\Test.gdb","SYSDBA","Ingram");
>
> > Warning: InterBase: I/O error for file "C:\DELPHI5\PROJECTS\TEST.GDB"
> Error
> > while trying to open file The system cannot find the path specified. in
>
> how about escaping the path?
Or try using *front-slashes* or double-backslashes... try either of these...
$dbh =
ibase_connect("c:\\delphi5\\projects\\Test.gdb","SYSDBA","Ingram");
... or ...
$dbh =
ibase_connect("c:/delphi5/projects/Test.gdb","SYSDBA","Ingram");
It's always key to remember that we're dealing with a Unix program (php is
essentially Unix-based) on a Windows envrionment, so strings & paths are
always dealt with better in a Unix-convention.
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com