PHP and DB2

From: Date: Thu, 10 Apr 2003 20:41:11 +0000
Subject: PHP and DB2
Groups: php.db 
Request: Send a blank email to php-db+get-26994@lists.php.net to get a copy of this message
        Hi there.
        I´m from Brazil, so my english is not very well. Sorry about this.
        I having problems with DB2 and PHP. I compilled php with --with-ibm-db2 option. PHP works connecting to DB2, but... If my DB2 Server is running in another machine ?
        When i connect to a local database, i use:
        odbc_connect("dsn","user","pass");
        How can i specify 'dsn' with the IP Address of DB2 Server ?
            ______________                             _______________
        |       DB2           | ------------------ | PHP + Apache   |
          ------------------                            -----------------
          Server1 = 192.168.0.1                        Server2 = 192.168.0.2
        Thanks.
--- Italo Teixeira Paulino (italopaulino@3wfast.com.br) 3wFast Soluções Interativas -- www.3wfast.com.br ICQ UIN: 10544993 -- Fapesp Handle: WSI15 Fone/Fax: +55 85 261-5730 -- Celular: +55 85 9118-0122

« previous php.db (#26994) next »