Re: SAP DB & PHP
| From: | Andreas Karajannis | Date: | Tue, 17 Oct 2000 15:48:49 +0000 |
| Subject: | Re: SAP DB & PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3682@lists.php.net to get a copy of this message | ||
"Kim, Seong-Sik" wrote:
>
> http://www.sap.com/sapdb/
> http://www.sap.com/solutions/technology/sapdb/sap_db_linux.htm
>
>
>http://www.sap.com/solutions/technology/sapdb/sap_db_programming.htm
> ( includes PHP ODBC interface!!)
>
> PHP will support this SAP DB?
I have just merged the patches from SAP into the PHP4 tree; to use SAP
DB, give --with-sapdb=/path_to_sapdb to the configure script.
Some quick observations:
-As opposed to Adabas D, you cannot connect locally to a database,
vserver must be running.
-In odbc_connect(), use a database specification in the form of
"host:database", e.g. for the sample database:
odbc_connect("localhost:TST", "TEST", "TEST")
-Andreas
--
Andreas Karajannis
GMD National Research Center for Information Technology
Schloss Birlinghoven, D-53754 Sankt Augustin
Phone +49 2241 142948