1

if statment giving server error in CGI script

view story
linux-howto

http://forums.fedoraforum.org – the following C script is giving error 500 internal server error in fedora 19 all though it gets compiled without any error....could anybody please help......... #include <stdio.h> #include <stdlib.h> int main() { char *data; long m,n; int y; FILE *fp; data = getenv("QUERY_STRING"); if (y == 0){ } if (y != 0){ } return 0; } (HowTos)