It is possible (though not very nice IMO) to send a POST request to an html file. If you set the action for the form to point to form.html then this will send the data for the form back to the html file request. You can then use a test in form.cgi to see if you are actually getting form results and then parse those results accordingly. It really depends on exactly how much of the output on form.html is actually taken care of by form.cgi, however what you describe is still possible in any case.
I'm pretty sure I would rather go about this the other way by generating the form.html code from within form.cgi or just using two separate files and no SSI.
What exactly is your reasoning behind using SSI?
Hope this helps.
| [reply] |
| [reply] |