I'm wondering if there is a way to get the names of all the inputs generated by the class as an array, too - in addition to getting them as a string. For instance, the class generates these inputs as a string:
<input type="hidden" name="fsbb_key" value="188.8.131.52.18.16.3184.108.40.206.575.18" />
<input type="hidden" name="f9b0944a8480d93e238" value="0944a8480d93e238" />
<input type="hidden" name="dca5791016952859af" value="MTE3ODExODgxNw==" />
<label for="mail">Do not enter anything in this field!</label>
<input type="text" name="mail" id="mail" value="" />
I also want to extract an array of the above input names, like so:
Perhaps, store the name of the input that is generated in each method in a class-array-var and then offer a getInputs() methods that returns those class array-var as an array like above?
On another note, I heard some ISPs such as AOL use dynamic IP in a different way:
A single user can potentially use a different IP address for each request (as is the case with large ISPs such as AOL), and multiple users can potentially use the same IP address (as is the case in many computer labs using an HTTP proxy). These situations can cause a single user to appear to be many, or many users to appear to be one. For any reliable and secure method of providing state, only information obtained from HTTP can be used.
So, how is that going to work with the userID input you generate through the FSBB class using the user's IP?