See the following Module: http://search.cpan.org/~burak/GD-SecurityImage-1.33/lib/GD/SecurityImage.pm
----- Original Message ----- From: "Suresh Govindachar" <[EMAIL PROTECTED]> To: "perl-win32-users" <[EMAIL PROTECTED]> Sent: Thursday, September 02, 2004 11:25 PM Subject: Re: How to write verify code program in perl? > $Bill Luebkert sent on 02 Sep 2004 21:21:13 -0700: > > > Tony Cheung wrote: > >> Hi, everybody ! > >> How to write verify code program(picture or number) in perl ? > >> Please view attachment, thanks. > > > > Assuming you are going to use the attached image, > > Otherwise, the steps for the server would be: > > 1) Generate 5 character or so long string of random > word characters [a-zA-Z0-9_] > 2) Use that string to create an image with a > human-readable but not machine readable > distortion of the string. There should be > randomness in the algorithm that creates > the distorted image. > 3) Present the user with the image and an input box > to enter a string. > 4) Get the user input and compare with the > string generated in step 1. > > > all you need to do is have the user type 'ewtzl' into a > > form text field and then you can verify it using either > > either JavaScript or a CGI app. Take a look at CGI.pm if > > you are using the Perl solution. > > --Suresh > > _______________________________________________ > Perl-Win32-Users mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs