pureMango.co.uk

there's nothing about mangos or purity. It's just a name..



You work to keep your computer safe, so you should keep your home protected too. Install a home security camera and you won't have to worry about home security. From the convenience of a wireless security camera to the reliability of a Panasonic CCTV, you can find great deals on security cameras online.
Free PHP CAPTCHA script; an entry image to stop spam on guestbooks, contact form spam, blog spam and so on 

freeCap: PHP CAPTCHA script



freeCap is a GPL CAPTCHA script to stop spam on guestbooks.
It can be used to prevent spam on any form; comment areas, signups, shopping carts - any area of your website where you fear the evil spammers may target.

freeCap PHP CAPTCHA boasts a host of features, not only does it offer strong character obfuscation, using random distortion of text and multiple backgrounds, but it also focuses on the security of the implementation. A lot of CAPTCHAs are relatively secure against OCR attacks, but fail to account for other attacks, such as session re-use.

freeCap can output in three different image types, uses a custom GD font for each character, has brute force protection, it's open source GPL and is totally self-contained - no need for SQL databases, PEAR, or anything beyond PHP and GD!
I hope you like it :-)



Free PHP CAPTCHA script; an entry image to stop spam on guestbooks, contact form spam, blog spam and so on  freeCap PHP CAPTCHA Version 1.4.1
freeCap PHP CAPTCHA
Features:
as version 1.3, plus:
-optional sha1 / md5 / crc32 hash in server session
-3 different randomly generated background types: grid, squiggles, image blocks (or blank) - see the demo!
-multiple font/colour support
-htaccess protected dictionary, fonts and backgrounds
-shared server security further enhanced
-user definable text fading
-automatic random number seeding for older PHP versions
demo - source

freeCap aims to be the most secure CAPTCHA. Version 1.5 includes a guestbook, comment form and emailer script - watch for its release in early 2007. At the moment, freeCap does not include installation instructions, but it does come with a simple sample from which you should be able to integrate the CAPTCHA with your PHP website. Other languages are not supported.

Free PHP CAPTCHA script; an entry image to stop spam on guestbooks, contact form spam, blog spam and so on  Requirements:
PHP 4.01+
GDlib any version (for gif support, any except 1.06)
Runs on both linux and windows platforms.

Free PHP CAPTCHA script; an entry image to stop spam on guestbooks, contact form spam, blog spam and so on  Comments/Questions about this PHP CAPTCHA script?
I now have a dedicated page for freeCap support. This is the place to look if you are having trouble installing freeCap.
General comments can be made below.

Free PHP CAPTCHA script; an entry image to stop spam on guestbooks, contact form spam, blog spam and so on  Who Uses freeCap?
See my list of freeCap users, it includes Oxford University, Apple, The Goverment of Nepal and hundreds more.

If you want to integrate freeCap into an existing package, check these freecap plugins out (many thanks to the developers of all these):
CAPTCHA for Typo3 CMS
mambo/joomla CMS (via this CAPTCHA plugin for joomla or this Joomla! 1.5 Plugin)
phpBB (via this CAPTCHA plugin for phpBB)
bBlog, (via these CAPTCHA instructions for bBlog).
WackoWiki CAPTCHA
Open Concepts Bulletin Board CAPTCHA

Free PHP CAPTCHA script; an entry image to stop spam on guestbooks, contact form spam, blog spam and so on  What is a CAPTCHA anyway?
A CAPTCHA is a special image that serves as a guard against comment spam. Automated programs scan millions of websites looking for phrases like "add your comment" and "sign my guestbook", and try to add spam messages advertising various products to those pages. By asking users to type a word in an image, this type of spam can be prevented - programs cannot read text in images.

Free PHP CAPTCHA script; an entry image to stop spam on guestbooks, contact form spam, blog spam and so on  Thanks To:
Everyone who uses freeCap, and especially those who link to me.
Also:
sam.zoy.org/pwntcha/
ocr-research.org.ua
for OCR security testing and general CAPTCHA feedback.

Free PHP CAPTCHA script; an entry image to stop spam on guestbooks, contact form spam, blog spam and so on  Want to join the fight against spam?
Take a look at this spam wiki - some very cool stuff going on there ;)

If you like my script, please rate it!

Click here for older versions of the PHP CAPTCHA.




 User Comments:

Who: email address imagified
When: April 12th, 2005
Says: your script roxxx!

thx

Who: andy
When: May 14th, 2005
Says: Congratulation for this fabulous script. I dont know exactly how OCRs work but I imagined it would confuse them even more if the random word was displayed twice on top of each other with one of them offset to a good degree. Would still
be ok for a human.
---
from u24:
yep, I'm thinking of doing something like that for the next version, glad u liked ;-)

Who: email address imagified
When: June 1st, 2005
Says: thank you, you are help me

Who: email address imagified
When: June 28th, 2005
Says: Very good, thanks! :)

Who: email address imagified
When: July 27th, 2005
Says: Nice useful script and thanks for giving it for free. :) But Is there an ImageMagick version as my web host does not support GD as of the moment?

---
from u24:
unfortunately not, my only recommendation is to change host, or try dynamically loading the gd libraries at runtime (I'll investigate this at some point to see how feasible this would be).

A future version might support imagemagick, but don't hold your breath..

Who: Ben
When: September 20th, 2005
Says: This is an awesome script I really appreciate your work on this...I made some modifications to it to better suit my needs...( I needed to have information posted to a DB ). But, everything works beautifully...

Just have one question though...I was reading above and SOME of the images are a little hard to read...But, if the image doesn't create a BG it looks beautiful ( and I am still sure that no spammer can read it even without the BG ) So, how do I go about having the image load ( everytime ) without a BG? Do I just set the BG to 0?
---
from u24:
:-) thanks
to set freecap to always produce a transparent bg, use $bg_type=0; (ensure output is either png or gif)

Who: email address imagified
When: October 1st, 2005
Says: Thanks for this very nice script.

I ran into only one problem using v1.4: if I reduce the height of the image, then the letters are sometimes partly off image. Am I doing something wrong?

I would also like to know if anyone has produced words lists in other languages than English. I would be interested in words lists in French, Spanish and Geman.

Kind regards
---
from u24:
yeah, if you reduce the height, you'll need to use smaller GD fonts (unfortunately, GD fonts are fixed size and cannot be scaled easily)
There are a lot of wordlists out there; I used the one from openoffice's dictionary, but if you search for "french wordlist" you'll find some; hacking websites usually offer large wordlists, but the problem is finding ones with appropriate words (i.e. no swear-words)
good luck; let me know if you find any good ones

Who: email address imagified
When: October 10th, 2005
Says: SUPER script!!! Great stuff!! Mean it!!

Another great advantage is that it actually works without the Truetype font installed on the GD of your server. And that's a BIG difference with all those other CAPTCHA scripts!

Only one question. This is a stand alone script. When entering data you see results. But how can you combine this script actually with a form. I tried all ways with our basic forms, but unfortenately...no luck. Anyone please!? Thnx in advance... John-Netherlands
---
from u24:
see the last comment I made to chuck about include()ing
glad you like it.

Who: email address imagified
When: November 18th, 2005
Says: The best script I have ever seen for Visual Confirmation

Who: email address imagified
When: December 31st, 2005
Says: I love you. I have been looking for a script that I could use, so i don't have to make one.

VERY VERY NICE SCRIPT!

Who: Thomas
When: January 24th, 2006
Says: Amazing. Got this to work in 2 hours, and exACTly the way I want it to.
Thanks mate, keep up the good work!

BTW, surprised to see you did not implement this on your own this here guestbook :-)

Who: email address imagified
When: February 7th, 2006
Says: Nice script you made here. Thankx for the freebies! :)

I have a question about incorporating this into an image hosting script.
http://www.maxogc.com/image_hosting/freecap_wrap.php

I can't seem to get the top file box to keep the setting so it will actually pass to the database. The comments box works just fine though. I manged to get that working.

Here is some code that I can't get figured out for the browse for file box. What would I put in for the value="" ??


And here is some code from the comments box that works just fine.


Who: email address imagified
When: March 10th, 2006
Says: Sounds like an incredibly good idea

Who: email address imagified
When: March 27th, 2006
Says: Hello there..

Thanks for the script - its very very useful!
Heres where I'm testing the system I'm writing, if you want to take a look..
www.blue-world.co.uk/personal/email_friend/email_friend.php

Thanks again!
Johnathon

Who: email address imagified
When: April 8th, 2006
Says: Really great script!!! Using the setcookie() function in your script and a htaccess to check for the cookie, I made my guestbook work with capcha. If you have pass the capcha you can enter otherwise it send you to the freecap directory. I also added the same kind of htaccess so you can by-pass capcha if it was passed in the last 15min.

htaccess in the guestbook directory:

RewriteEngine on
RewriteCond %{HTTP_COOKIE} !^.*cookiename=cookiehumancode.*$
RewriteRule .*$ http://www.yoursite.com/freecapcha/

htaccess in the freecapcha directory:
RewriteEngine on
RewriteCond %{HTTP_COOKIE} ^.*cookiename=cookiehumancode.*$
RewriteRule .*$ http://www.yoursite.com/guestbook/


Who: email address imagified
When: April 18th, 2006
Says: Hi,

We used your freecap captcha tool (what a wonderful piece of art it was!) to develop a simple game for our children.

We are trying to help children challenge themselves by trying to "recognize" patterns on screen. Words and Letters mangled and deformed, provide a special challenge to people with visual dyslexia and other pattern recognition problems.

Thanks again for this wonderful piece of work, that we could base our game on.

And, feel free to play it too! And give us your feedback.

We call it Jambav Captcha.
Link to the game:-
http://www.jambav.com/jambav/activities/activities_page.php?id=-8

Rajendran
Team Jambav
http://www.jambav.com


Who: email address imagified
When: May 10th, 2006
Says: Hi, first of all thanks for the awesome tool and especially for providing it for free!

Several people pointed out before they could see the Captcha Background image, but no letters. From the comments I didn't see whether you already found a solution so I investigated myself because I had the same problem.

I intend to use FreeCap inside Typo3 as an extension (sr_freecap) in cinjunction with the Modern Guestbook extension (ve_guestbook). The current sr_freecap extension (Version 0.3.2) is based upon FreeCap 1.4.1

The remark the fonts might have something to do with this particular problem lead me on the right track. After googleing a bit I found out that similar problems had been reported before. They had to do with the endianness of the GD font files. Most GD font files are created on PC architecture Machines. The x86 family of processors and their clones are little-endian. I try to use FreeCap on an UltraSPArc machine, which is (like Macintosh PowerPCs and some IBMs and other machines) big-endian. (For more information on endianness in general read the article in the wikipedia).

This difference leads to wrong values calculated for the font sizes which - in turn doesn't display. I solved this problem by loading the font files into a Hex-Editor (Hex Fiend for the Mac is quite cool!) and reverted the Byte order of the first 4 32-bit words (the rest may be left untouched, it is not prone to endianness), which are the header data of the GD font file. So, if the original byte order in .ht_freecap_font1.gdf reads:

1A 00 00 00 | 61 00 00 00 | 22 00 00 00 | 32 00 00 00

The resulting file should read:

00 00 00 1A | 00 00 00 61 | 00 00 00 22 | 00 00 00 32

This revealed a second problem: The fonts still showed not up, even after converting the fonts. The reason for this is the number of bytes read in the line

$c_wid = fread($handle,11);

Since you read only 11 bytes, in a big-endian scheme the last byte of the 3rd quadruplet (in the example from above: 22) will be missing. I didn't go too deep into the GD font file format but the byte seems to be significant for your calculations so after changeing the read from 11 to 12 bytes:

$c_wid = fread($handle,12);

everything worked fine. For all of the people experiencing this problem (background shows, letters do not) check the endianness of your architecture and modify the font files if needed.

Best regards from Munich, Germany,

Henning
---
from u24:
thankyou very very very much for this. I was aware that this was the reason for fonts not showing, but I had no big-endian machines to test on. When I get some time, I'll release a newer version with alternative fonts. - thanks again :)

Who: email address imagified
When: May 12th, 2006
Says: Ok I m congarding you I just found your capcha and IT the only capcha which I cant read automatical... I hope I can create a Capcha reader for it too soon ITs my second day and still couldnt broke it Nice job
---
from u24:
excellent! let me know when you do manage to break it and I'll try to challenge you some more :-) thanks for the congrats!

Who: email address imagified
When: June 3rd, 2006
Says: Hi,
I have written an installer for your excelent freecap 1.4.1 , as a demo for a generic-installer buider that I have written.
It implies redistributing freecap in a different way as you do. Am I infringing the license?
The URL is http://mkinstaller.nisu.org/#_tfre
Thanks.


Who: email address imagified
When: June 23rd, 2006
Says: Very impressed with your site, and paricularly with freecap. Is there anywhere I can find more detailed guidance on integrating freecap with my FormMail web forms? (I am talking 'nuts and bolts' here!)

Best Regards

Who: email address imagified
When: July 13th, 2006
Says: Excellent script, a real timesaver!!! Its all working fine but when choosing other gd fonts is there a reccommended style? Some fonts that I have installed are totally unreadable and overlap and behave very strangely. I have converted ttf to gd using that font converter by philp something something that you placed a link to.

Also I get an error when using bg type 3 but I can live without and use the other types instead.

Who: email address imagified
When: August 4th, 2006
Says: This looks great, now if could figure out how to incorporate it into my existing form...
---
from u24:
In october the next version will be out which will include more detailed instructions

Who: del
When: August 9th, 2006
Says: How cool is this, the mozilla firefox website is using your freeCap to protect there user panel form ... i had to share.

http://userpanel.mozilla.com/
---
from u24:
wow! that is just... wow. thanks for letting me know!

Who: email address imagified
When: September 4th, 2006
Says: Great just what i was looking for!
Thanks!

Who: email address imagified
When: November 4th, 2006
Says: Has anyone implemented this script on Matt Wright's Guestbook script?

If so, any suggestions?

I have placed a copy of the php script on my server, and it works quite well. Now, to marry it with the Matt Wright script...

Dave

Who: email address imagified
When: November 22nd, 2006
Says: This is a truly great captcha script. Easy to implement and difficult to beat.

I am using it on www.completessl.com/contacts.php.

Thank you,
Doug

Who: email address imagified
When: November 29th, 2006
Says: Hello My Name is andreas, and I use this excelent programm for my new Project: http://www.webradio-Wiki.de

Just great. Thanks.
One little idea, you should put the morphfactor to be edited at the top where the othere configurations are. Some are not able to read the morphed words, had to sert it to zero.

would be great if you would make it posible to disable any morphing in the configuration, so that realy only plain an straight words coming. but this is just an idea to make it more plexible for sites and layout.

but realy a great work - Would be nice if you would set us into the list of Websites using that Skript!

Thanks: Andy

Who: Thadeus
When: January 8th, 2007
Says: Hi,

just heared about the FreeCap Project. It looks really very nice!

I read that you want to release a guestbook, a comment form and an email script.
although that are really nice ideas, they could remove the focus from the captcha system itself.

what would be really really awsame would be a class version of freecap. for easy integration into other projects.

i recently started to use an php framework called codeigniter (they say its ruby on rails for php). unfortunately the captcha method integrated there is a bit poor.

if someone (maybe you?) could port freecap to CodeIgniters "plugin/library" architecture it would immediately become the most used CodeIgniter captcha :-)

if you want to learn more about codeigniter:
http://www.codeigniter.com (watch the two video tutorials - you will be impressed)
if you want to immediately start porting ;-) this link may be helpfull:
http://www.codeigniter.com/user_guide/general/plugins.html

i added a posting concerning your freecap to the codeigniter forum, too:
http://www.codeigniter.com/forums/viewthread/1815/

would be really cool if you'd jump on the train :-)
---
from u24:
thanks, that sounds very interesting - I'll certainly take a look at it.
I am planning on 1.5 to be a class-based script.

Who: Thadeus
When: January 8th, 2007
Says: Hi,

just wanted to add:
When you look at codeigniter, you should take a look at /system/plugins/captcha_pi.php (its the "original" codeigniter captcha plugin.

if you need help with setting up the original captcha plugin within codeigniter (to see how it works and adjust yours to play with CI), feel free to ask in the forum.

in the following thread we started to adjust the original plugin a bit (in order to make it acutally readable), but probably every 10bucks ocr software is able to decode it now. :-)
so just look at this thread if you have questions setting it up, i am using the same name there (Thadeus):
http://www.codeigniter.com/forums/viewthread/2470/

best regards!

Who: Vindexus
When: January 16th, 2007
Says: Amazing script. Thank you for commenting everything as well.
---
from u24:
thanks! :D

Who: Eric
When: January 22nd, 2007
Says: i actually just wanted to test it out!

Who: email address imagified
When: January 25th, 2007
Says: Thank you very much.
Your captcha is wonderful!!!!
Best regards from Nice, France.
Jean

Who: email address imagified
When: January 29th, 2007
Says: Excellent captcha, thanks for all your help, keep up the good work.
Andy

Who: koset [.] net
When: February 10th, 2007
Says: No, you are the one who rocks!

Who: email address imagified
When: February 12th, 2007
Says: I am new to php and have a noobie question to ask. I understand that when the form validates, you can send the user to another php file (i.e. mail.php) to process the contents of the form. However, I'm not sure how I can access the variables. For example, I tried to access the superglobals such as $_POST['name'] on mail.php by saving it to a variable and printing it, but the result would be blank. Any help would be appreciated.

Who: email address imagified
When: February 14th, 2007
Says: Where is the direct download link for freecap?
---
from u24:
look above, where it says "source". click that.

Who: email address imagified
When: February 17th, 2007
Says: Click on the link yourself!! It isnt a zip file that you can download, I just links to another page!
---
from u24:
works for me.
try right clicking and pressing "save target as"
and/or disable any file download 'helpers' you may have installed.

Who: email address imagified
When: February 18th, 2007
Says: I tried installing it, but the codes are always off to the right it seems. I'm not sure whats the matter.

http://xs412.xs.to/xs412/07081/Untitled-1.jpg
http://xs412.xs.to/xs412/07081/Untitled-2.jpg
---
from u24:
it's not loading the dictionary properly; make sure you've uploaded it. Also, there's a dedicated support area linked above which might help.

Who: email address imagified
When: February 20th, 2007
Says: can we do with numbers for www.webcraftscreations.com
---
from u24:
sure, just tell it not to use dictionary mode, and customise the random string sequence so it only returns numbers.

Who: email address imagified
When: March 27th, 2007
Says: Freecap is great, although I have one question - is there any point me putting in a maximum attempts, as a bot would be able to request a new session ID for each attempt anyway?
---
from u24:
yeah, you're right. As I explain in the code, you can get around any type of brute force detection. But this will stop stupid spammers. Most spammers are stupid (for instance, look at the ones who try to referer spam me, even though I'm the only person who can see it. Or the ones who comment spammed me, even though none of their links got turned into html. stupid.)
And it'll annoy even the clever ones.

Who: Alicia
When: April 9th, 2007
Says: Great script but it can't be customized too much.. :((

I also found an other script which look interesting: captchaxxxxxxxx.com
---
from u24:
sure, for $99.95
... to use on one site only.

freeCap is free (hence the name) and *can* be completely customised. that's the beauty of open source, you see.
And even if you're not a pro PHP coder, you'll notice that it can be customised in terms of background style, fonts, background images, blurring, color and word generation method, just by changing variables at the top of the code - no PHP knowledge necessary.

Also, a quick search on google shows me that you're spamming captcha sites ("So far I found Captcha XXXXX http://www.captchaxxxxxxxx.com which seems easy to install and works nice!")

That's just rude.

Who: email address imagified
When: April 13th, 2007
Says: What is the purpose of freecap_wrap.php?
---
from u24:
it's just an example integrated captcha - you can delete it, but you'll probably want to use it to see how to tell if the user passed the captcha.

Who: email address imagified
When: April 17th, 2007
Says: FreeCap is excellent!

I integrated freeCap with J.A.G. (Just another Guestbook), which is excellent by the way. Check out http://www.xs4all.nl/~crisp/jag/index.html

Also, I made a small modification to the selection of words from the wordlist. I was using a wordlist that contained some rather long words, that don't fit in the image, so I added a loop that retries until a short enough word is found (this was easier than cleaning up my words list):

$word="";
while((strlen($word)$max_word_length))
{
$word = strtolower($words[$rand_func(0,sizeof($words)-1)]);
// cut off line endings/other possible odd chars
$word = ereg_replace("[^a-z]","",$word);
}


Who: email address imagified
When: April 23rd, 2007
Says: Any idea when version 1.5 comes out :-)
---
from u24:
ha! yeah, I know I'm late. It definitely won't be before the end of June - I've got my final exams etc until the end of May. I can tell you that it will be a huge release though. The work I've completed already gives it an optional web2.0 guestbook and/or email contact form with an admin area, fully template-driven for easy customisation. The code has also been reworked into a class-based system.
The stuff I need to do is first and foremost: improve the readability of the text.
Then it's improving the OCR resistance (because that's the most fun part), then I need to get some mac fonts, some other language dictionaries and perhaps one other feature that is top secret at the moment.

Thanks for checking back in. I can email you when it's ready if you like?

Who: 1
When: May 2nd, 2007
Says: 1
---
from u24:

2

Who: email address imagified
When: May 6th, 2007
Says: Hi, I don't have much money as I am looking after a disabled son and cannot work. I run a few websites to try and make a little extra money for a holiday but I am plagued by auto-signups on the sites. Your software is a godsend because it is free and I thank you for that. Please keep me informed of any updates. I can afford a small amount of money if there is a charge. Regards, Dave
---
from u24:
I'll let you know when I update it. I'm planning to do some more work on it once I finish university.
There's no charge at all for anything on this site - people can donate using paypal if they like, but it sounds like you need the money more than me; I make enough from the adverts to maintain the site.
I'm glad to have helped you out - spammers are such a pain, they can ruin small endeavours - I've seen many small businesses and even non-profits go under under the tide of spam.

Good luck saving for a holiday :-)

Who: email address imagified
When: May 13th, 2007
Says: i'm a student who never learn about php b4. but i have to create a CAPTCHA using an image PIX CAPTCHA. but the different is pix using a few pictires, butt what i have to done is only 1 picture with several multiple choices of answers. my question is, can i use this coding with some modifications for my work?
---
from u24:
if you're asking for permission, then yeah sure, so long as you abide by the LGPL license*.

If you're asking if it's technically possible then - I don't know, play around and see what you find.


* freecap is actually licensed under the GPL, but I plan to use the LGPL in future versions as it's more applicable to the web.

Who: email address imagified
When: May 16th, 2007
Says: Hi ! My guest book on www.wickerexpress.com.hk is being spammed to death. We are using advanced guestbook 2.3.1

We are not expert in PHP so can you teach us how to integrate it with our website ? I can send you the link or whatever. We can pay you for the work as well.

Many thanks, Stanley Wong

Who: email address imagified
When: May 18th, 2007
Says: Nice script, only one thing though:
it breaks on PHP5 had to downgrade one of my servers to php 4 to get it to work again.

Not sure what the issue is, but it would be nice to get it working on php5

Thanx
---
from u24:
thanks for the feedback. I'll make sure the next version works on both. cheers.

Who: email address imagified
When: May 19th, 2007
Says: Hi, I am a complete dummy in php and don't understand some of your instructions in the script.
Am I supposed to split up the freecap_wrap.php into an html page and a php script? How do I link the two together?

At the moment I'm using one file only and the form is processed no matter what code I type in.

I'm pretty sure I'm missing something but can't put my finger on what it is. I have tried other CAPTCHA scripts, but yours is by far the most user-friendly, but even this I can't work out.

This is my test page: http://www.zeolitesaustralia.com.au/captcha3/freecap_wrap.php

Thanks,
"not so wizard"
---
from u24:
you need to merge freecap_wrap with your existing form processing script. freecap_wrap is just an example of how you might do that.

Who: email address imagified
When: May 27th, 2007
Says: I luv your script and would like to use in on my site. Unfortunately I'm a complete idiot when it comes to programming. (grrr...) i was wondering when you were gonna write out instructions for ppl like me?
Rock on!

Kat
---
from u24;
installation instructions will come in the next version - but it won't be for a few months yet, sorry.

Who: email address imagified
When: May 27th, 2007
Says: One more question... When is the guestbook coming out? I can't wait!!! I totally luv yours! I also luv how you change the email address so that spambots can't harvest them. My guestbook is getting totally spammed..! :'(
Do you think *maybe* you could help me add your script to it? My guestbook is http://www.katzkorner.com/Guestbook.php.

Can't wait for the next version!!!

Kat
---
from u24:
sorry - my last exam is tomorrow and then i have an essay to finish. After that I'll probably do some work on freecap, and I'll try to get the next version out soon.

If you email me the guestbook php file, I'll try to email it back with freecap added within a week or so. Sorry I can't help more. Glad you like the site :-)
Have you seen the witchcraft course in the "collected knowledge" section? It's very good.

Who: email address imagified
When: May 30th, 2007
Says: Is it work?
---
from u24:
no, it's a captcha script.

Who: email address imagified
When: May 31st, 2007
Says: You are absolutely amazing!! Thanks so much for your help. Now to wait and see if I get any more spam! :D
---
from u24:
thanks, I'm sure your spam count will plummet :)

Who: email address imagified
When: June 10th, 2007
Says: Spam?? What spam?!
You totally rock!!!
---
from u24:
*grin* thanks!

Who: Payne
When: June 16th, 2007
Says: Great script. I was able to get it working easy enough on an email form. I am having one small problem though. If the user fills in the form and enters the word in correctly all works as expected. If the user enters the word wrong the form resets without an error and looses all information previously entered. How do I get an error message to display and retain the form contents previously filled in.

Thanks

Who: email address imagified
When: June 23rd, 2007
Says: This is related to what "Henning Halfpap" mentioned; I received this message when running the script:
PHP Notice: Uninitialized string offset: 11 in C:httpdhtdocsfreecapfreecap.php on line 173
I would think you'd read 12 bytes *anyway*, if you're accessing index 11?

(There's also this message:
PHP Notice: Undefined variable: y_pos in C:httpdhtdocsfreecapfreecap.php on line 613
But I don't think that's as big a deal, you could just initialize $y_pos to 0, if you're even worried about Notices.)

This was with version 1.4.1, by the way.


Aside from that, it's a very useful script. Thanks!


Who: email address imagified
When: July 4th, 2007
Says: Please help! Yes im another cut and paste type of guy. Trying to learn as i go though am finally stumped. I have a form script by Jason Gillyon (http://www.newmedia.lincoln.ac.uk/jgillyon/tags/contactform/) that im using (and like very much) but want to incorporate your CAPTCHA as his looks like one of those that can be hacked. His script offers a preview function that id like to keep using on this form. I am also building a second form which i dont wish to use the preview function on. Can you please help me make it work? Im happy to make a paypal "donation" (although please remember, 1 UK pound buys half of Australia these days) as this is really doing my head in. I have turned off his security option, should i remove it completely? My site at http://www.rentlease.biz/contact-us.php Do i need me to send you the script? Or can you insert it into his and forward it to me? Then, hopefully i can read the changes then copy and paste in my 2 form scripts as needed. (one to preview, one not)
Thankyou,
Adam

Who: email address imagified
When: August 10th, 2007
Says: Hi,

I like the look of this script and it appears to be very well commented ... which I like also.

I am considering using this within our corporate website but do not really want to have "freeCap v1.4 etc etc" beneath image.

Is it OK to use the sript without this ... thanks for your help.

Who: email address imagified
When: August 12th, 2007
Says: this is a test

Who: email address imagified
When: August 15th, 2007
Says: A couple of questions. I am a bit dim on php, but I am trying. I have existing forms that I want to add this captcha script too. All my forms use a program called "FormTools" to process them. I cannot use any other program (like this script) to do so. How can I get this script to work alongside another program. All I want it to do is refuse to process the form if the captcha is incorrectly entered.

Who: Jason
When: August 16th, 2007
Says: Breaks on PHP 5!!!!

Please release a version for PHP 5 or provide a fix, please.

Thanks,
Jason

Who: Abbe
When: October 10th, 2007
Says: Very nice captcha script, one of the best I've seen so far
Thanks for sharing
:)

Who: email address imagified
When: October 15th, 2007
Says: BREAKS ON PHP5

WHO HAS SOLUTION!!

thnQ

Who: Iced-T
When: November 2nd, 2007
Says: I have set the captcha length to 6 characters and use not the dictionary method. the problem is that sometimes freecap creates captchas with a length of 5 characters. for a solution of this problem pls email me @ Iced-T[at]web.de

Who: email address imagified
When: November 7th, 2007
Says: I just installed it and It's great...except I frequently get a "service not available" instead of the image.
---
from u24:
try upping the max attempts variable.

Who: email address imagified
When: November 29th, 2007
Says: FIRST: Thank You!!!

now, a small note for the benefit of installers...

on my server, i had a couple local configuration issues which broke the FreeCap scripts:

1) my PHP doesnt support short open tags ( so I had to change the "

Who: email address imagified
When: November 29th, 2007
Says: oops! entry trimmed :-))

anyway, FOR ME - short open php tags had to be changed to standard long ones... and also i had to set error reporting to ignore notices:

error_reporting(E_ALL ^ E_NOTICE) added to front of each php file

Who: email address imagified
When: November 29th, 2007
Says: Looks good. I plan to use it with my app.
Diwakar

Who: email address imagified
When: December 13th, 2007
Says: Does this work
---
from u24:
yes. It stops spam, but there is probably a better solution. I have some ideas but I don't think anyone's done anything better yet.

Who: email address imagified
When: December 23rd, 2007
Says: thaks!!! it's work!, the only problem i have, it's very difficult to read it! please change the img.

Who: email address imagified
When: February 8th, 2008
Says: Thank you for your contribution to "safer surfing". Guestbooks will be more attractive without the links to spam and porn sites now.



Who: email address imagified
When: February 12th, 2008
Says: This cpacha is bearly readable by Human. I had to reload image few times before i was sure i can decode it.

Who: f
When: February 23rd, 2008
Says: f

Who: email address imagified
When: March 4th, 2008
Says: I am having trouble installing this script. I get an error on the form page where I added an include php function for the freecap.php page. It says there is an undefined function for createimage.. etc. etc. down the line of image functions within the freecap.php page. Can you please advise what I may be doing wrong?

Thanks! Other than that the script looks awesome.

Who: zeromind
When: March 7th, 2008
Says: it not work for me

i'm testing it using wamp server on my comp.
wamp server use php 5.2.5 and gd2

any suggestions?

Who: email address imagified
When: March 27th, 2008
Says: Hi!!! Hope you are doing well. Me from a data entry company of Bangladesh. And please note i have well set up and 55 typers at the moment. Currently we are able to solvemore than 300000+ captcha which is increaseable according to buyer requirement. I must expect your nice response that i can give you my service in law rate. Looking forward to get your nice response. Thank you,

Best Regards
Amir Hossain Dewan
Data Home Ltd.
amir4@yours.com
khoknaa@yahoo.com

Who: email address imagified
When: March 31st, 2008
Says: hi hope you are doing well . i am a free man , i want my own boss than i want home job, so sir plese can give you my service in any rate, looking forward to get your nice response. Thank yu
noor a alalm khan
iamnoor@gmail.com

Who: Knert
When: April 21st, 2008
Says: Unfortenately the first spam mails do go through this captcha!!!!!!!

B1 : send
Word : cjitnoqd ldfbngejr
Reaction : dikfxlze zgdirm uefcwdv dfolecnj gmcz vqcrtfib knqifty
E-mail : kocd@mail.com
Telephone : cjitnoqd ldfbngejr
City: cjitnoqd ldfbngejr
Zipcode: kocd@mail.com
Address : cjitnoqd ldfbngejr
Name: cjitnoqd ldfbngejr


Who: Bitage
When: April 28th, 2008
Says: Hey, thanks for this great piece of software!

I made some changes in the code, so when someone inputs 20 wrong words and gets temp. banned, it will reset itself within 5 mins., so the user can try again. May be handy.

PHP code:
Place this just below session_start(); in freecap.php:

// If timeout has ended, reset $max_attempts
if(isset($_SESSION['freecap_timeout']) AND $_SESSION['freecap_timeout'] < time())
{
$_SESSION['freecap_attempts'] = 0;
unset($_SESSION['freecap_timeout']);
}


Now, place this in the «if($_SESSION['freecap_attempts'] > $max_attempts)» which can be found around line 200:

if(!isset($_SESSION['freecap_timeout']))
{
$_SESSION['freecap_timeout'] = time() + 5 * 60;
}

That should do the trick.

Also, I'd like to add a handy link to a site which provides wordlists in different languages for free. Check out this site: ftp://ftp.openwall.com/pub/wordlists/languages/
Navigate to your language, pick a folder (e.g. 1-clean) and pick a *.gz file (biggest one will do). Now, to get only six-letter words from it, unpack it and save the wordlist as 'lower.lst' (w/o quotes).
Use the following PHP script to get only the six-letter words:

ini_set("memory_limit","100M");

$list = file_get_contents('lower.lst');
$list = explode("n",$list);

foreach($list as $item)
{

if(strlen($item) == 6)
{

$sixlist[] = $item;

}

}

$sixlist = implode("n",$sixlist);

echo "".$sixlist."";



This, will return a list containing only complete words of six-letters. Save the output as .ht_freecap_words in the freecap folder.
NOTE: Windows users may not be able to save files without extension (so .ht_freecap_words can't be written). If so, then save the output of the script as wordlist.lst and run the following batch script. All files, so wordlist.lst and the original .ht_freecap_words must be located in the freecap-folder.

File 'rename.bat':

@echo off

rename .ht_freecap_words .ht_freecap_words_original
rename wordlist.lst .ht_freecap_words

exit

That should do. Have fun!

Who: email address imagified
When: May 14th, 2008
Says: Thanks.
How we use the captcha in joomla 1.5. I have install the plugin of captcha but i don't know how it is uesd in our component(such as registration form).

 Add your comments:
Who / E-Mail:*
Your Comments:*
(php/html will be removed)

Because spammers have targetted me due to my antispam efforts, I'm going to have to ask you to complete this CAPTCHA test before posting.
Learn more about fighting spammers.
 enter text
word above:
If you can't read the word, click here
 
* denotes a required field.
Your email address will be converted to an image to prevent spambots picking it up.
yup, it's a mango.

Scheme:  R G B T