Subject | Re: [firebird-php] Dynamic SQL error -901 |
---|---|
Author | Uwe Oeder |
Post date | 2004-11-19T11:37:44Z |
Thanks again that is what did it. You are all lifesavers.
At 11:27 AM 11/19/2004, you wrote:
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]
At 11:27 AM 11/19/2004, you wrote:
>Hi UweMr. U. Oeder
>
>check you services file in c:\windows\drivers\etc
>
>add the line
>
>gds_db 3050/tcp
>
>and the most important thing, one empty line at the end of the file
>
>save it and test it
>
>Rui Francisco
>
>Uwe Oeder wrote:
>
> >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>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/gr
> oup/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>fir
> ebird-php-unsubscribe@yahoogroups.com
> >>
> >> *
> >> * Your use of Yahoo! Groups is subject to the
> >><<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Ya
> hoo! 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]
> >
> >
> >
> >
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>--
>Rui Francisco - rui.francisco@...
>FCCN - Fundação para a Computação Científica Nacional
>Av. Brasil, 101 1700-066 Lisboa - Portugal
>Tel: +351 218440100 Fax: +351 218472167
>-----------------------------------------------------
>
>
>
>
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
><http://us.ard.yahoo.com/SIG=12943kag8/M=298184.5584357.6650215.3001176/D=groups/S=1705007183:HM/EXP=1100949071/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.
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]