Home : Products : Links 2.0 : Customization :

Products: Links 2.0: Customization: Re: [nootkan] Alternativ Solution to Antibot?: Edit Log

Here is the list of edits for this post
Re: [nootkan] Alternativ Solution to Antibot?
Yes, that's a problem. The hash/pound sign "#" is interpretted by perl as meaning "ignore whatever follows on this line". So,

sub create_captcha_form { #----------------------------------------------------------- # Create the form for add.cgi securityrequire "admin/captcha/captcha.pl"; $crypt = &generateCode(6); if ($crypt){ $i_width =

won't work since the require statement is being ignored.

Make the code looks like the posted code. You will have to manually put in the line breaks (enter key ). I, too, have noticed that when code is copied from these forums, it does not paste correctly, which is rather annoying!

Attached is a text file that has the mod.


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Apr 20, 2008, 5:27 PM

Edit Log: