need help in where to start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cassbiz
    New Member
    • Oct 2006
    • 202

    need help in where to start

    I want to create a fun script (LOL)

    What I want to do is create a script where when you type in a word (each character will have its own input field) it will return a jpg or gif, something like a word scramble.

    I want to incorporate as many arrays as possible as to not have to repeat the code over and over., ie [a-z0-9] will give a return with it's exact corresponding pic.

    can someone direct me to a tutorial or help out with a snippet perhaps. I know I can do it using the CGI module which will help speed up the process.

    the form will be something like this:
    Code:
    <form method="POST" action="example1.pl">
    Enter word (One character per box): 
    <input type="text" name="field01" value="" size="1" maxlength="1">
    <input type="text" name="field02" value="" size="1" maxlength="1">
    <input type="text" name="field03" value="" size="1" maxlength="1">
    <input type="text" name="field04" value="" size="1" maxlength="1">
    <input type="text" name="field05" value="" size="1" maxlength="1">
    <input type="text" name="field06" value="" size="1" maxlength="1">
    <input type="text" name="field07" value="" size="1" maxlength="1">
    <input type="text" name="field08" value="" size="1" maxlength="1">
    <input type="text" name="field09" value="" size="1" maxlength="1">
    <input type="text" name="field10" value="" size="1" maxlength="1">
    
    <input type="Submit" value="Scramble it Up!">
    </form>
    thanx in advance
  • eWish
    Recognized Expert Contributor
    • Jul 2007
    • 973

    #2
    The form you submitted looks fine, you just need to write the code to process the data from the form. Have a look at the CGI docs which will show you how to process the data. If you can't get your code working, then post the code that you have written and we will try to assist you.

    --Kevin

    Comment

    • jeffjustice
      Banned
      New Member
      • Jul 2008
      • 9

      #3
      You can find a good series of tutorials for beginners. There a good starting point at DELETED

      Comment

      • KevinADC
        Recognized Expert Specialist
        • Jan 2007
        • 4092

        #4
        Originally posted by jeffjustice
        You can find a good series of tutorials for beginners. There a good starting point at http://codervods.com/VideoPage.aspx? ID=987&&categor y=Perl
        Is codervods your website? I hate to acuse anyone of spamming a forum if I am not sure, but you keep recommending that one site, which I have never heard of, over and over.

        Comment

        • cassbiz
          New Member
          • Oct 2006
          • 202

          #5
          That is not my website.

          Comment

          • numberwhun
            Recognized Expert Moderator Specialist
            • May 2007
            • 3467

            #6
            Originally posted by cassbiz
            That is not my website.
            Kevin's post was directed to user "jeffjustic e" who did post the URL in question. If you look at his post, it says who posted it.

            Regards,

            Jeff

            Comment

            Working...