Re: [PHP-DEV] Remote Oracle server From: Stig Bakken (ssb <email protected>)
Date: 12/11/98

Boris Sauliak wrote:
>
> I want run httpd with php on one server and oracle on another.
> I can't connect from php script to oracle. Everthing works if httpd and
> oracle on one machine. What shell I do to connect on another oracle ?
> PHP3.0.5, Oracle v8.0.4

Use "username <email protected>" as the username in Ora_Logon(). "database" should be
something that is defined in $ORACLE_HOME/network/admin/tnsnames.ora.

 - Stig

-- 
 Stig S. Bakken                    Guardian Networks AS                   -
 mailto:ssb <email protected>            Trondheim, Norway
 http://www.pvv.org/~ssb/          http://www.guardian.no/

-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>