Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: PHP, ODBC and ORACLE

Re: PHP, ODBC and ORACLE

From: Andy Hassall <andy_at_andyh.co.uk>
Date: Sat, 06 Nov 2004 13:49:51 +0000
Message-ID: <5dlpo0dr2qo64lko1vht5eejs0f971lusb@4ax.com>


On 6 Nov 2004 13:22:12 +0100, "Prostetnic Vogon Jeltz" <taskovskig_at_gmx.net> wrote:

>I can not conect to remote Oracle DB using EasySoft's ODBC for Oracle package.
>I just keep ending with:
>
>$ islq ORACLE -v
>[unixODBC][Easysoft][Oracle]ORA-12154: TNS:could not resolve service name
>
>[ISQL]ERROR: Could not SQLConnect
>
>Same thing happens when I connect using PHP4 script which is I want to do
>at the end :)

 Given that PHP has an Oracle Call Interface module that gets you native connectivity to Oracle, why not use that?

 http://php.net/oci8

-- 
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Received on Sat Nov 06 2004 - 07:49:51 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US