Hi Marian, >How do I prevent spam bots from exploiting php scripts that send mail? > >Need to know... > >(SIGH) Google for "Turing engine"; i.e. the principle that these bots generally don`t interpret things in images and humans do. The famous: "to submit, type the lettes you see in the image on this page in the field below" thing.
General idea: start a session. generate a random combination of letters and store in database, in a record also holding the session number. display form, containing image (imagemagick) composed of a fuzzy background and the code you just generated and stored. After submit, lookup in database the record belonging to this session number and see what is the correct code. Compare the code submitted with this code. If correct, script can proceed. To not get a very large sized database, eliminate the record. There are more detailed descriptions and examples on how to do this online. Marc Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
