I am working on a file and I am trying to understand how to process a form in hopes of passing a hidden field. for simplicity, lets say i want my scipt to simply show the value of the hidden field when it is first presented to the user, incremented by one, and after it is ‘submitted’, the new script displayed with the updated hidden field. I am trying to gain insight on the explicit procedure so i can apply it to one of my current projects.
I have searched the web but most examples simply confuse me, can anyone chime in?
I am working on a file and I am trying to understand how to
Share
Values submitted by the form can be retrieved using the
CGImodule (since you haven’t shown any code, I don’t know whether you’re usingCGIor attempting to handle the CGI interactions by hand; if you’re doing it by hand, You’re Doing It Wrong) and itsparammethod.Given the HTML form:
You can retrieve the hidden value with (in
my_script.cgi):