note
mkirank
do the following steps
<br>
1.put this file in a web server directory which executes cgi scripts and change permission to 755 (assuming a *nix server)
<br>
2.add print " Content-type: text/html \n\n" at top of the program<br>
3.create a html form with a input box and a submit button <br>
4. u can pass the num of tries either from a hidden variable from the HTML form or set a cookie<br>
5. use CGI.pm and get the variables instead of reading from STDIN
<br>
hope this helps
316415
316415