Subject Re: [firebird-php] Dynamic SQL error -901
Author Uwe Oeder
I have changed the code accordingly:

$MyHost = 'localhost:D:\Projects\CreativeInfo\Data\Data.FDB' ;
$MyUsername = 'sysdba' ;
$MyPassword = 'masterkey' ;
$MyDBHandle = ibase_connect($MyHost,$MyUsername,$MyPassword) or die('error
in db connect') ;
$MyDBQuery = ibase_prepare($MyDBHandle,$SQLStatement) or die(ibase_errmsg());
$MyDBDataset = ibase_execute($MyDBQuery) or die(ibase_errmsg());

It then throws the following error message :

Warning: ibase_connect() [function.ibase-connect]: Unable to complete
network request to host "localhost". Failed to locate host machine.
Undefined service gds_db/tcp. in D:\Projects\Webpage\Documents\Tester3.php
on line 154
error in db connect

But I can ping localhost without any problems. What else could be wrong ?



At 10:17 AM 11/19/2004, you wrote:
>Dmitry Kalugin wrote:
>
> > UO> $MyHost = '//dev1/:D:\Projects\CreativeInfo\Data\Data.DBF' ;
> >
> > invalid path "//dev1/" and Data.DBF is not Firebird Database
>
>Haven't woken up yet - missed that ;)
>
>--
>Lester Caine
>-----------------------------
>L.S.Caine Electronic Services
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
><http://us.ard.yahoo.com/SIG=12959q9sl/M=298184.5584357.6650215.3001176/D=groups/S=1705007183:HM/EXP=1100938474/A=2434970/R=0/SIG=11edksnhv/*http://www.netflix.com/Default?mqso=60185402>
>click here
>
>[]
>
>
>
>----------
>Yahoo! Groups Links
> * To visit your group on the web, go to:
> *
> <http://groups.yahoo.com/group/firebird-php/>http://groups.yahoo.com/group/firebird-php/
>
> *
> * To unsubscribe from this group, send an email to:
> *
> <mailto:firebird-php-unsubscribe@yahoogroups.com?subject=Unsubscribe>firebird-php-unsubscribe@yahoogroups.com
>
> *
> * Your use of Yahoo! Groups is subject to the
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.



Mr. U. Oeder
Head of IT Departement

Creative-Logic
1 Dr Michael de Kock St.
Northern Industrial Area
Windhoek
Namibia

P.O. Box 9274
Phone : 061-262 941
Fax : 061-262 130
Email : uweo@...



[Non-text portions of this message have been removed]