Well, my idea of putting in a blank file as a place holder didn't work.
I'm sorry, but I got 2 of the function calls mixed up. The actual code for the html form is
Code:
printf("<form name=\"addRegForm\" method=post action=\"%s/confirmAdd\">\n", CGINAME);
CGINAME is:
Code:
CGINAME=/cgi-bin/eventName
So, what the html code that is being created is actually:
Code:
action=/cgi-bin/eventName/confirmAdd
The 1010 came from a function that is initializing the html page to be created, by setting content type to "text/html%c%c, 10, 10"
Code:
void html_initPage()
{
printf("Content-type: text/html%c%c", 10, 10);
}
It's being called from:
Code:
if (strcmp(cgiPathInfo(), "/addForm") == 0) { /* Generating form for new registration */
pRegData = DB_createDataStructure(1);
cgiGetFormData();
getParamData();
html_initPage();
html_regForm(ADD_NEW, pRegData, NULL);
free(pRegData);
}
I interpret content type to be text/html1010
Do you know what that means?