wind0965
02-02-2004, 05:34 PM
I confront a problem to return a value from server side to client after execute the .cgi. And the cgi is written in C.
I don't know if it is possible to do like:
--in C file (save as "test.cgi"):
int main()
{
.....
return result;
}
--in JavaScript:
var test_cgi = 0;
...
test_cgi = "test.cgi" //OR: test_cgi = return test.cgi
It seems not to work.
Or if there are other possibilities?
Thank you in advance!
I don't know if it is possible to do like:
--in C file (save as "test.cgi"):
int main()
{
.....
return result;
}
--in JavaScript:
var test_cgi = 0;
...
test_cgi = "test.cgi" //OR: test_cgi = return test.cgi
It seems not to work.
Or if there are other possibilities?
Thank you in advance!