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

Home -> Community -> Usenet -> c.d.o.tools -> Re: CGI/Oracle/C

Re: CGI/Oracle/C

From: <emaus081269_at_my-deja.com>
Date: Wed, 11 Oct 2000 19:48:18 GMT
Message-ID: <8s2g5v$qtv$1@nnrp1.deja.com>

Not necessarily an Oracle thing:

In you CGI program do you have

content-type: text/html
<space is important>
Program here

In article <39DFDE1D.718BC660_at_Glue.umd.edu>,   Liming Xu <lmxu_at_Glue.umd.edu> wrote:
> Hi, i'm a newbie and have a quick question.. (using Apache server)
> I'm programing cgi in C, and for later purpose, I'm using oralce
> database....
>
> so the problem here is, I have a simple "hello World" C program in my
> cgi-bin with .c extension,
> and if I compile this and get an executable, then from the web, when I
> access this cgi-bin/helloworld, it works
> perefectly...but......since i will deal with oracle, so I rename the
> file helloworld.c to helloworld.pc......then problem come.....
>
> so now, with .pc, it still compiles and generate helloworld
 executable,
> but when I access the executable from the web,
> it tells me "premature, end of script header"
>
> what's wrong? it has to be an oracle thing....
>
> thanks
>
> newbie
>
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Oct 11 2000 - 14:48:18 CDT

Original text of this message

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