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:
thanx in advance
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>
Comment