Re: Oracle Question
| From: | Joseph Oaks | Date: | Thu, 11 Aug 2005 19:06:14 +0000 |
| Subject: | Re: Oracle Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220465@lists.php.net to get a copy of this message | ||
xfedex, yes you can connect to a remote Oracle DB, I'm doing for an app
I'm trying to write. You have to configure php with the oracle version
you have, more than likely with the --with-oci8=/u1/oracle/product/10g
line, of course your oracle location will differ.
I chose to use the PEAR::DB to do my oracle stuff instead of the oci calls.
This made it simple, and easy to read for me as I'm still learning.
The code looks cleaner also.
xfedex (xfedex@gmail.com) wrote:
>
> Hi,
>
> Can PHP connect to a remote Oracle db?
> Because all oracle connecting functions only require 'user' and 'pass'
>
> http://us3.php.net/manual/en/function.oci-connect.php
> http://us3.php.net/manual/en/function.ora-plogon.php
>
> Thanks,
> Regards,
> pancarne.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
"Computers are like air conditioners - they stop working properly when you
open Windows"