Hello,

> Von:  M�rten Gustafsson[SMTP:[EMAIL PROTECTED]]
> 
> Does anyone know how to make PHP talk to SAP DB?
> 
> I have found some tutorials on Apache/PHP/SAP DB but they�re all assuming
> that Apache/PHP resides on the same physical machine as SAP DB, I have my
> SAP DB on a dedicated DB server.
> 
i use:

odbc_connect('localhost:DATABASENAME', 'USER' , 'PASSWORD')

to connect to a DB on localhost. It should be possible with:

odbc_connect('DBSERVERNAME:DATABASENAME', 'USER' , 'PASSWORD')

to connect to a database on a remote host ;-)


Regards,

Mathias


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

Reply via email to