Subject Re: [firebird-php] Connection to FB from PHP
Author Milan Babuskov
Deepak Kafle wrote:
> I've tried to connect to FB from php using
>
> ibase_connect("localhost","SYSDBA","masterkey")
>
> but the function return error. Do I have to specify .gdb file in my connection function?

Yes, you must. From PHP manual:

---------------------------------------------------------------------
int ibase_connect ( string database [, string username [, string
password [, string charset [, int buffers [, int dialect [, string
role]]]]]])

The database argument has to be a valid path to database file on the
server it resides on.
---------------------------------------------------------------------


--
Milan Babuskov
http://fbexport.sourceforge.net