> I've been writing PHP scripts for a long time but never needed to get data
> from an Oracle database. Till now.

- First, you need php compile with --oci
- Then, you have to install the "oracle client".
Note : you can't find the "oracle client" alone. you need to download the
entire oracle (500Mb !!) at
http://otn.oracle.com/software/products/oracle8i/content.html and then
choose in the setup to install the oracle client.

After that, it would be possible to connect your remote oracle with
ocilogon($username, $pw, $host).

> host     (e.g.  somewhere.somewhere.com)
Note that I'm dubitative about your example. host is normally a string you
should see in the oracle file tnsnames.ora. I've never seen a "host" oracle
variable as an url ??

Hope it will help you
Regards,
Phlippe



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

Reply via email to