Random image generator for form submition

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
User avatar
mchaggis
Forum Contributor
Posts: 150
Joined: Mon Mar 24, 2003 10:31 am
Location: UK

Random image generator for form submition

Post by mchaggis »

Hi All,

I want to write a scrpt that generates an image with a load of obscure characters on it to stop auto form submiters spmaming me through my contact form.

I have no idea what you would call it, which is why I am having problems searching for it in the usual script resources.

An example of what I want to achieve is at http://www.kellysearch.co.uk/gb-company-94014980.html


Any pointers greatfully recieved

Cheers
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

It's called captcha. Google for it and you'll find many examples. Some classes from phpclasses: here and here
User avatar
mchaggis
Forum Contributor
Posts: 150
Joined: Mon Mar 24, 2003 10:31 am
Location: UK

Post by mchaggis »

Cheers for that... That's just the info (name) I was after
Post Reply