in reply to saving data problem
I'm not sure I follow the problem. You said (code removed):
Hello Monks, I have a simple html form.(Month Day Year Title and Message) input fields are used. When the form is submited the cgi script displays the variable information and formatting correctly. At this point I wanted to be able to write the variables to a file or go back and continue editing. But I am still new to perl and I am having a lot of trouble.
I have not tried to run the code you posted, so I am not sure if what you ask is a problem in the code itself, or when it runs. Assuming the code runs ok,
While I was a little concerned at seeing values in store_event() that had not been passed it, I realized the concern was more likely due to the time of night I was reading the posting and the likelyhood you had stripped the code down somewhat than just they not actually being defined in the code.
A look at Ovid's Web Programming Using Perl course, and tachyon's CGI Help Guide might give you some additional insight into the issue. CGI Programming with Perl and the Perl Cookbook may also prove helpful, as may other resources, such as the Tutorials section here and the comments of other monks.
Good luck with the problem. Hope this helped somewhat.
Update: (19 Oct 2002) In several private messages from others overnight, it was suggested to me several other sources which might also be of use, or that might be of use to others new to the site who may read this later. Mostly related to the asking of questions, they included:
To you, and to others who come after, I wish you good luck, and my thanks to those who messaged me regarding the additional information.
|
|---|