Subject Re[2]: [firebird-php] Dynamic SQL error -901
Author Uwe Oeder
I found the error my services file was missing the following : gds_db 3050/tcp
After I put it into the services file everything seems to work except for
some small unknown error :
"Warning: Unknown: invalid statement handle..."
Thanks for all the help !

At 10:52 AM 11/19/2004, you wrote:
>Hello, Uwe!
>
>Friday, November 19, 2004, 12:23:54 PM, you wrote:
>
>
>UO> I have changed the code accordingly:
>
>UO> $MyHost = 'localhost:D:\Projects\CreativeInfo\Data\Data.FDB' ;
>
>try without localhost
>$MyHost = 'D:\Projects\CreativeInfo\Data\Data.FDB' ;
>
>UO> $MyUsername = 'sysdba' ;
>UO> $MyPassword = 'masterkey' ;
>UO> $MyDBHandle = ibase_connect($MyHost,$MyUsername,$MyPassword) or die('error
>UO> in db connect') ;
>
>$SQLStatement=???
>
>UO> $MyDBQuery = ibase_prepare($MyDBHandle,$SQLStatement) or
>die(ibase_errmsg());
>UO> $MyDBDataset = ibase_execute($MyDBQuery) or die(ibase_errmsg());
>
>UO> It then throws the following error message :
>
>UO> Warning: ibase_connect() [function.ibase-connect]: Unable to complete
>UO> network request to host "localhost". Failed to locate host machine.
>
>in file
>C:\WINDOWS\system32\drivers\etc\hosts
>add line
>
>127.0.0.1 localhost
>
>
>UO> Undefined service gds_db/tcp. in
>UO> D:\Projects\Webpage\Documents\Tester3.php
>UO> on line 154
>UO> error in db connect
>
>write source Tester3.php on line 150 - 160 :-))
>
>UO> But I can ping localhost without any problems. What else could be wrong ?
>
>--
>Best regards,
>Dmitry Kalugin
>Ukraine, Donetsk
>
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
><http://us.ard.yahoo.com/SIG=129d0uarc/M=298184.5584357.6650215.3001176/D=groups/S=1705007183:HM/EXP=1100944277/A=2434971/R=0/SIG=11eeoolb0/*http://www.netflix.com/Default?mqso=60185400>
>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]