PHP and DB2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux