Hi,

i've a little probleme with the odbc driver. I need access to the database via php.
So i've installed the php_odbc driver and unix_odbc (OS = Debian Linux 3.0 (woody)). 

Here is my odbcinst.ini:
[SapDB]
Description     = SapDB Treiber fuer Linux
Driver          = /opt/sapdb/indep_prog/lib/libsqlod.so
Setup           = /usr/lib/odbc/libsapdbS.so
FileUsage       = 1
CPTimeout       =
CPReuse         =

And my odbc.ini:
[ANNA]
Description     = Die Datenbank des AnnA Projektes
Driver          = SapDB
ServerNode      = localhost
ServerDB        = ANNA


If i connect to the Database with this php script i get this message "This document 
contains no data" (with the mozilla browser)(if i use IE i get a normal error site):
<?php
        $conid=odbc_connect("anna","test","test");
        echo $conid;
?>

The SAPDB version i've tryed are 7.3 and 7.4.

Thanks

Simon Schwarz 

---------------------------------------------

Diese eMail wurde mit Amacando Free Mail versendet.

http://www.Amacando.de

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to