in reply to [Solved]: Is it possible to save an array and use when then script is called second time?
That way, when the SUBMIT is clicked, @array1 is returned via the param name of the hidden field.
You can use that to compare with what you receive with the form fields.
This method does have a potential security issue if the user tampers with the hidden fields.
To avoid that, you may add an additional hidden "checksum" type field, or, preferably, persist the checksum somewhere in the database, or local temp file, or even a session variable.
Software efficiency halves every 18 months, thus compensating for Moore's Law.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is it possible to save an array and use when then script is called second time?
by Anonymous Monk on Sep 21, 2015 at 20:41 UTC |