Apologies for posting this here, but it seemed like as good a place as any.
I've been struggling with PHPlib OOHForms form validation (or OOH Forms if you're the googlebot).
Specifically I was trying to test the server side form validation and it wasn't working for me. It always told me there were no errors.
The problem was that I changed my form to use the GET method rather than POST method.
I tried looking for an answer all over the place on google, and I should have just sat down and traced through the code like I just did. So I'm posting this in case anybody else has this problem.
Anyway, to make the versions that are patched for having register globals off, you have to modify the marshal_dispatch function to get the $vname variable from the GET querystring rather than the post variables. Or you can write an if/then to handle the more general case of it being either GET or POST. Unfortunately the oohforms class currently doesn't store the method, it just takes it as a parameter to the start method and writes it out to html. I may try and get a updated version added to phplib.sourceforge.net but it seems fairly dormant especially on the oohforms front (last file mod 4/27/2002)
Is anybody still using OOHForms from PHPLib anyway? If not, what's a better alternative? (aside from BlueShoes $4000 solution)