I am new to PERL and CGI, as well as this forum, so please bear with me. I'm having trouble with a project I have in a Web class. I have an HTML form for visitors to fill out. On submitting, it calls a cgi script to parse the text input , put it into a table, and reply with a confirmation response displaying the table and a link back to the form or home page. All this works.
However, I need to incorporate a script to parse and store the input to a database, and a script to check the name and password input against this database to 1)determines if the visitor submitted before (Welcome Back, here's your record) or 2) it's a new submit, giving the confirmation response (Thank you, here is your input).
I'm working on the response if it is a new submit but the visitor forgot the password, to send an email providing them with the password. But, this will be based on creating the database of previous input.
So, can any wise masters guide me on my quest for knowledge?
I'm sure it would help to see what I have so far, in order to assist. I can send the HTML files and script I have to anyone who has the patience and time to help tutor me.
Thank you for any consideration.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.