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="68.13.7.19.18.16.354.16.40.14.575.18" />
<input type="hidden" name="f9b0944a8480d93e238" value="0944a8480d93e238" />
<input type="hidden" name="dca5791016952859af" value="MTE3ODExODgxNw==" />
<span style="display:none;visibility:hidden;">
<label for="mail">Do not enter anything in this field!</label>
<input type="text" name="mail" id="mail" value="" />
</span>
I also want to extract an array of the above input names, like so:
Array
(
0 => "fsbb_key",
1 => "f9b0944a8480d93e238",
2 => "dca5791016952859af",
3 => "mail"
)
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:
shiflett.org/articles/the-truth-abo
...
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?
TIA