June 16th, 2000, 02:04 AM
i m a perl cgi lover..
i want to do one registration process .
i need some help in getting the values..
The process goes like this ...
1. Click A Link to do Sign Up!
2. Accept Rules and Regulations!
3. Fill out the Form!
4. Get Login Name and passwd
5. Check Login and passwd
6. Add to Database.
Now my problem is i have to track all the values with a single CGI...
How can i do this ?
June 17th, 2000, 07:10 PM
I assume what you mean is that you want to carry a session identifier and/or form fields for a particular user across multiple forms/pages.
The first form can be static HTML but you're going to have to generate the rest from a script.
You can then carry forward the results of previous forms using hidden form fields.
<input type=hidden name=thisfieldname value=theirinput>
You can accumulate several hidden fields across many forms just by reading the input from the CGI and outputting it as HTML hidden fields.
And remember, hidden fields aren't secret, they're just not visible to the user when viewing the HTML page. The user can always read them by viewing the page source.