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

Home -> Community -> Usenet -> c.d.o.server -> Re: ORACLE ENV UNDER CGI

Re: ORACLE ENV UNDER CGI

From: Igor Sereda <sereda_at_spb.runnet.ru>
Date: Tue, 14 Apr 1998 13:33:09 -0400
Message-ID: <35339DD5.1D4F47E0@spb.runnet.ru>


Hello,

i use PHP3 as server-based html parser to connect to Oracle, and this problem is resolved by calling PutEnv function. I believe that C function putenv() can help out.

Regards,
Igor

Mike Hankey wrote:
>
> I have an pro c cgi application that works fine from the command line.
> When I execute it through the browser I get an error because it can't
> find the $ORACLE_HOME .
>
> I asked my sys admin if we could add the ORACLE environment variables to
> the profile of nobody(the http process uid) but he said he knew of no
> way to alter nobody's profile.
>
> I thought about setting the environment variables from with in my C
> program but I'm not sure how to do that. Any help is greatly
> appreciated.
>
> TIA
>
> Mike

--
Igor Sereda,
ITC, Russia Received on Tue Apr 14 1998 - 12:33:09 CDT

Original text of this message

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