I am just wondering how certain sites on their forms have those images that they have to type in the characters that is displayed in that image, to be able to post the form.

I have a client that on her contact us form I built, which does NOT put her email address in the code, someone keeps either using a script to post data to the form, or something. Anyhow, I am wanting to try to add something like that. I don't even know the correct term for what they call that, but is it possible to do that in Perl?

When I view the source code for those sites that do this, I don't see a hidden field to id the image name, so that they can look in the database for the associated image to make sure they are putting it correctly.

I don't even see an input tag to print the image, so how do they know if they put in correct characters in the form field? That is where I am confused. I Do not even see how the site knows which image it was that is printed.

I would really appreciate your wisdom on this.

Even if you can tell me the correct term for it, so I can use the Advanced search, and even use Google to find it.

Thank you very much Xav

In reply to Adding Imagewords for security by ukndoit

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.