Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The question is, what would be the easiest way to transport the checkbox values into the other script so file1.cgi can use it? What I need to do is store which boxes are checked and pass this somehow to the file1.cgi. The admin can change these values at any time; some times s/he may have one checkbox marked, other times maybe half or all of them.
The point of this is I need to check against all these values in file.cgi. The only idea I came up with is using DB_File or SDBM and storing them in a joined string then inside file1.cgi I could split them back into variables. This seems like a tedious task and there must be an easier way.
To make this one bit harder, how can I keep the check boxes checked for the next time they log back in? I need the choices they selected to remain the same the next time they access the admin panel, so the method used to pass this to the other script must also store these in a manner I can do this.
If you need a better description, let me know and I'll try to revise it. Thank you all for your time.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Passing variables to another script (theory)
by DamnDirtyApe (Curate) on Mar 31, 2004 at 05:47 UTC | |
by etcshadow (Priest) on Mar 31, 2004 at 05:53 UTC | |
Re: Passing variables to another script (theory)
by matija (Priest) on Mar 31, 2004 at 05:53 UTC | |
Re: Passing variables to another script (theory)
by Hofmator (Curate) on Mar 31, 2004 at 13:15 UTC | |
Re: Passing variables to another script (theory)
by sulfericacid (Deacon) on Mar 31, 2004 at 14:16 UTC |