> <form name="registrationForm" method="post"
> action="/cgi-bin/registration.cgi?rm=registerNewUser">
> ..... some stuff
> <input type="submit" value="Register" name="submitButton" />
> </form>
To the best of my knowledge most web servers will not pass parameters
properly this way, and if one does, it's not the typical behaviour.
So far as I can tell your code has 2 problems.
1. You're calling rm=registerNewUser here while you're run mode is named
registerUser but *points to* a function called registerNewUser. Your rm=
must be the name of the run mode not the name of the function it points to.
2. You would be much better off using the form like:
<form method='post' action='/cgi-bin/registration.cgi'>
<input type='hidden' name='rm' value='registerUser'>
.....some stuff
<input type='submit' value='Register'>
</form>
Don't mix arguments to your cgi script (i.e. anything like
?key=value&key2=value ) if you're using the script as part of a form. Always
put those additional arguments inside hidden input fields.
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.