Connect to oracle on another host
| From: | Juan Antonio Ruiz Zwollo | Date: | Wed, 02 Oct 2002 01:27:57 +0000 |
| Subject: | Connect to oracle on another host | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-118491@lists.php.net to get a copy of this message | ||
Hi!
I've been writing PHP scripts for a long time but never needed to get data
from an Oracle database. Till now.
Can somebody give me a hand? The Oracle database is running on another
server.
The information I have been given is:
host (e.g. somewhere.somewhere.com)
username (e.g. USER_NAME)
pw (e.g. MY_PW)
databse : PROD
Function: F_CLAVE_SI_NO(loginnr)
Basically what I need to do is contact this databsae, execute the function
F_CLAVE_SI_NO($myloginnr), and get the results.
The function F_CLAVE_SI_NO is a function from the Oractle database itself;
it is no one written in PHP.
Thank you for your help!
Kind regards,
Juan Antonio Ruiz Zwollo
www.acalli.org