Hi, all,
I use Informix SE on LINUX, and I found a problem.
I write an easy EC program(nothing about sql) and
compile it to execution file. It can run well under linux command,
but if i run it on web browser, it don't work(never have output).
But if I rename it to "tt.c" , and compile it to an execution file.
It can run well on both linux command and the web browser.
I don't know why? It is the same C program and nothing about SQL,
just compiled by different C compiler. Why one can execute on web browser,
and the other can't?
Anyone knows? Does any parameter I need to set on linux for web?
Thanks...
Peary
Here is my program, "tt.ec"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void main(int argc,char *argv[])
{
printf("Content-type:text/html%c%c",10,10);
printf("This tests the output of C on WEB...\n");
/*printf("%s",argv[1]);*/
return;
Quote:}