By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,710 Members | 1,906 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,710 IT Pros & Developers. It's quick & easy.

need help in where to start

cassbiz
100+
P: 202
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:
Expand|Select|Wrap|Line Numbers
  1. <form method="POST" action="example1.pl">
  2. Enter word (One character per box): 
  3. <input type="text" name="field01" value="" size="1" maxlength="1">
  4. <input type="text" name="field02" value="" size="1" maxlength="1">
  5. <input type="text" name="field03" value="" size="1" maxlength="1">
  6. <input type="text" name="field04" value="" size="1" maxlength="1">
  7. <input type="text" name="field05" value="" size="1" maxlength="1">
  8. <input type="text" name="field06" value="" size="1" maxlength="1">
  9. <input type="text" name="field07" value="" size="1" maxlength="1">
  10. <input type="text" name="field08" value="" size="1" maxlength="1">
  11. <input type="text" name="field09" value="" size="1" maxlength="1">
  12. <input type="text" name="field10" value="" size="1" maxlength="1">
  13.  
  14. <input type="Submit" value="Scramble it Up!">
  15. </form>
  16.  
thanx in advance
Jun 7 '08 #1
Share this Question
Share on Google+
5 Replies


eWish
Expert 100+
P: 971
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
Jun 7 '08 #2

P: 9
You can find a good series of tutorials for beginners. There a good starting point at DELETED
Jul 8 '08 #3

KevinADC
Expert 2.5K+
P: 4,059
You can find a good series of tutorials for beginners. There a good starting point at http://codervods.com/VideoPage.aspx?ID=987&&category=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.
Jul 8 '08 #4

cassbiz
100+
P: 202
That is not my website.
Jul 10 '08 #5

numberwhun
Expert Mod 2.5K+
P: 3,503
That is not my website.
Kevin's post was directed to user "jeffjustice" who did post the URL in question. If you look at his post, it says who posted it.

Regards,

Jeff
Jul 11 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.