jmoore has asked for the wisdom of the Perl Monks concerning the following question:
1). I want to have a form page that a person can enter the valuables to.
Example of the form:
<form method=post action=test.cgi> Server Address: <input type=text name="server_address"> Cgi Directory: <input type=text name="cgi_directory"> <input type=submit value=save> </form>
2). Then I want the form's submission to be saved to a file called test.cfg in this form:
$server_address = 'http://www.whatever.com';
$cgi_directory = '/InetPub/wwwroot/cgi-bin';
3). Then when the person wants to change the information, I want them to be able to go back to the form and have the form read in the input fields what they already saved.
4). Then when they change the information I only want the information that they changed to be updates in the test.cfg file.
I know this can be done, but I cant figure it out, the closets I have came to was getting the information from the form to the test.cfg file.
An example of this would be the Ultimate Bulletin Board. Any suggestions and help would be gratefully appreciated.
Thanks in advance.
Jonathan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Form/File/Form
by vroom (His Eminence) on Apr 21, 2000 at 07:44 UTC | |
|
Re: Form/File/Form
by jmoore (Initiate) on Apr 21, 2000 at 08:59 UTC | |
by vroom (His Eminence) on Apr 21, 2000 at 09:03 UTC | |
|
Re: Form/File/Form
by jmoore (Initiate) on Apr 21, 2000 at 09:05 UTC | |
by ChuckularOne (Prior) on Apr 21, 2000 at 17:14 UTC | |
by raflach (Pilgrim) on Apr 21, 2000 at 21:07 UTC | |
by Anonymous Monk on Apr 22, 2000 at 06:06 UTC | |
by chromatic (Archbishop) on Apr 22, 2000 at 08:31 UTC |