Freecap Support


How to solve your freeCap problem

First of all, make sure you’re using the latest version.

Second, read the common problems below

Third, write a comment here. I’m pretty rubbish at responding, especially given that this software is four years old now, but you can hope.

Fourth, if it’s really urgent you can get my undivided attention by donating some paypal funds and asking your support question in the comments box.


Many thanks to everyone who has contributed fixes and tips :-)

Common Problems

1.4.1 – The image doesn’t display, or
1.4.1 – There are NOTICE errors displayed
add the following line to the top of all php files:
error_reporting(E_ALL ^ E_NOTICE);
This will be fixed in the next version

How do I integrate freeCap with xyz application?
See the main PHP CAPTCHA page – there are plugins for mambo/joomla, plugins for phpBB, a wiki with CAPTCHA, a blog with CAPTCHA and other implementations of freecap linked there. If it’s not listed then roll up your sleeves and get coding :)

Where are the installation instructions?
There are none. A future version may include examples and instructions. For the moment, some experience with PHP is required, but see the question about getting it to send email, below.

1.4.1 – How do I get it to send email?, or
1.4.1 – In the filename I put in the Header line, how do I access the submitted data
At the moment, it’s just a CAPTCHA script; i.e. it won’t fully integrate with your existing form without a little work on your part.
A future version will include several example scripts, but for the moment, on about line 54, where it says
// now process form
just put
include("xxx.php");
exit();

where xxx.php is the file that your old form used to submit to, eg mail.php

1.4.1 – Where are the fonts/images?
For security, they begin with a ‘.’, which means that Apache won’t allow people to view them directly. Unfortunately, Windows also sees files beginning with a dot as hidden. Make sure that you’re set up to see hidden files in windows explorer (your file browser); go to the ‘Tools’ menu, then ‘Folder Options’, click the ‘View’ tab and make sure “Show hidden files and folders” has a check mark next to it. Press OK and you should see all the fonts and images appear on your local machine – now you can upload them. (thanks to David for that tip)

Some FTP clients, including Dreamweaver’s, don’t ‘see’ files beginning with ‘.’ – try a different FTP client (like coreFTP, fireFTP). You should be able to see “.ht_freecap_font1.gdf”, “.ht_freecap_font2.gdf” and so on in your freecap directory.

1.4.1 – All I get is a blank image, or
1.4.1 – I get an error about “fopen(./.ht_freecap_font1.gdf):”
Make sure that you have uploaded the fonts (see above), and the dictionary file.

If you have, try changing freecap’s config to use a randomly generated CAPTCHA; if it works after that, make sure the permissions on .ht_freecap_words are set to 700.
If it still doesn’t work, see the answer below, and if that doesn’t apply, contact me.

1.4.1 – All I get is a blank image – part two
If you’re not using an intel processor (in other words your server is not Linux or Windows, it is mac, sparc, aix, motorola, etc), then I’m afraid this is a bastard problem from hell for which I have no fix yet.

GD fonts are architecture-dependant, which means that for your big-endian processors I need to produce special font files.
Try to get hold of some big-endian GD fonts and *PLEASE* let me know if you find some. I’m sorry but I don’t have the resources to fix this. If you manage to get freeCap working on your processor please let me know so I can publish your findings and help other big-endians.
The only workaround I can suggest is to either:
-find big-endian GD fonts
-hex edit the included fonts and send me copies
-use an older version of freeCap that didn’t use GD fonts and hack in the security updates from earlier versions (bad idea)
-use a different CAPTCHA system :-(

What does ‘service no longer available’ mean?
freeCap has built-in brute force detection; this message is shown once a user has tried more than a reasonable amount of times to enter the text. As with almost all freeCap features, this is user-definable; to disable this feature, set $max_attempts to something massive like 999999999999999.
A future version will provide a less hacky way of disabling this feature.

any – Fatal error: Call to undefined function: imagecreate() or image_anything()
You must have GD installed in order to use freeCap.

1.4 – The image never changes
Upgrade to 1.4.1, or upgrade your PHP version.
This is because older PHP versions do not initialise the Random Number Generator automatically.

How can I make the image more readable?
freeCap is designed to be as customisable as possible. There are several variables you can change to make the text more readable:
-Change the bg_type to 0, 1 or 2
-Reduce the chunk factor
-Use more readable fonts
-Alter the fade factor
But bear in mind that increased human readability means decreased OCR-resistance. On the other hand, a CAPTCHA is more often simply a deterrent and the actual theoretical security matters little.

What can you do about accessibility issues?
Nothing, but see below.

Is there an audio CAPTCHA?
No. Firstly, it’d be bloody hard to code in PHP. Secondly, it’s bloody hard to make it secure – see this eye-opening page about cracking voice captcha for more info.

My suggestion for accessibility is to allow people to enter their details without passing the CAPTCHA, but send non-captcha’ed submittals to a ‘pending’ queue for manual review. It’s a much much simpler solution that still leaves the site accessible.


Add your questions below. I will not respond via email, so check back here for a response, or email me for an email response.

Once resolved, I remove comments from here – if your comment is gone, it’s been resolved – look above. Thanks for contributing.

Please only add support questions here. For general comments, use this page.


Related Posts:

,

  1. #1 by Joao Afonso on May 4, 2009 - 6:03 am

    I’m using the URCAPTCHA (based on freecap). I’ve followed the instructions, but the image won’t show up (Firefox/IE). I’m using a Wampserver 2.00, PHP 5.2.8 (GD2/freetype enabled) and Wikka 1.1.6.6. I tried to change the ReWrite rules in my .htaccess – didn’t work. Could you help me?

    • #2 by user24 on May 14, 2009 - 2:37 am

      try adding this:

      error_reporting(E_ALL ^ E_NOTICE);
      

      to the top of all .php files

  2. #3 by chikalin on May 21, 2009 - 8:31 am

    The sample form provided doesn’t check its it wrong or not. I added the error_reporting(E_ALL ^ E_NOTICE); too but still it doesn’t tell me if its typed in wrong or not. It did this with other captcha scripts as well so I’m not sure what to do now.

  3. #4 by whatever on May 25, 2009 - 9:40 am

    Thanks,

    Very, Very, Very and Very Work !

    Good Luck

  4. #5 by Julio on May 30, 2009 - 2:03 am

    Its all working, but do not validate the register. Ever return: “wrong word”!
    The word is right (case sensitive or not).
    Could you give me a help with this?

  5. #6 by Terrum on June 7, 2009 - 8:35 am

    How do you remove this freecap from a phpbb2 forum as i dont want this on my forum anymore. What files do i have to replace? Thanks. please email me

  6. #8 by Erid Leifson on July 22, 2009 - 6:07 pm

    I am trying to insert your nice little spam script into my form submission on my site but have run into a little snag and hope you can enlighten me as my service provider support can seem to figure it out. In one of your freeCap support page and in reference to the following….

    1.4.1 – In the filename I put in the Header line, how do I access the submitted data
    At the moment, it’s just a CAPTCHA script; i.e. it won’t fully integrate with your existing form without a little work on your part.
    A future version will include several example scripts, but for the moment, on about line 54, where it says
    // now process form
    just put
    include(“xxx.php”);
    exit();
    where xxx.php is the file that your old form used to submit to, eg mail.php

    What if your file is a perl mail script file like “formmail.pl”….. I can’t seem to get it to work with that call! I get the following error from my server……

    Warning: main(/cgi-sys/formmail.pl) [function.main]: failed to open stream: No such file or directory in /usr/local/www/virtual1/66/175/33/128/html/freecap_wrap.php on line 56

    Warning: main() [function.include]: Failed opening ‘/cgi-sys/formmail.pl’ for inclusion (include_path=’.:/usr/local/share/pear’) in /usr/local/www/virtual1/66/175/33/128/html/freecap_wrap.php on line 56

    If I put the call in the form header with on Submit it sends the form fields but then doesn’t perform the validation. It just won’t work if I call the mail form file as you outline above in the work around.

    Any ideas….?

    A determined spam fighter

    • #9 by user24 on July 23, 2009 - 12:33 am

      Hi Erid!

      Sorry to have to inform you that it won’t work with perl scripts :(

      Possible solutions are:

      use a PHP mailer, but that would require some re-coding on your part

      use a different CAPTCHA script, for example reCaptcha works with many languages, including perl.

      Sorry to be the bearer of bad news. Honestly, I’d go for option 2, it’ll probably be easier for you. Good luck.

      • #10 by Erid Leifson on August 8, 2009 - 3:46 pm

        LOL…it’s actually Eric, I must have hit the wrong key and didn’t notice it.
        Anyways, thanks for getting back to me. Yes, I figured out that your wonderful and great CAPTCHA script wouldn’t work with a perl script. So, I down loaded a formmail script from Tectite and with a little effort on my part got it to work! I am very pleased with the results so far. I will continue to massage it a little in the future but as of right now, mission accomplished!
        Thanks again for your kind of efforts in the fight against those damn spammers…!
        Eric

  7. #11 by Merlin15 on October 22, 2009 - 11:44 am

    There is a great deal to say on the role music plays as both a physical and a spiritual entity. ,

  8. #12 by Imran on February 6, 2010 - 10:23 pm

    Hi ive been using lowerping and freecap for some time now…but lately ive been getting this problem when i try to run wow through freecap it automatically closes please can any one tell me what the problem here

    cheers

  9. #13 by Flying Dutchman on August 25, 2010 - 9:40 am

    Hi !
    I didn’t find your email, so I am asking my question here on.

    I am the develloper of the blog engine Blogotext (which was dead for 3 years, until I asked the author to take the project over) : http://lehollandaisvolant.net/blogotext/

    I wish to include FreeCap into the login page.

    My ask is : do you allow me using FreeCap (under GNU/GPL licence) into a CreativeCommon-BY-NC-ND licenced software (Blogotext) ?

    I am not the creator of Blogotext, and I can’t change that licence, so, because of the CC licence wich is more restrictive than GNU/GPL, I need the author’s permission
    (article 10 of GNU/GPL v2 licence).

    - Blogotext is open-source, but not « totally » free
    - Blogotext will always be free of charge (of course)
    - The mention of FreeCap will be included in the « read-me » page and even a link, if you want.

    (sorry for my English (I am actually not English…), and if you can, answer me using e-mail please.

    Thanks :)

  10. #14 by Chris on May 6, 2011 - 1:07 pm

    I am using Freecap for phpBB and it worked fine for years. Now all of a sudden no more images are being displayed. I only see a broken picture.

    http://philipkdick.zockt.com/phpBB2/profile.php?mode=register&agreed=true#

    Any idea? I am kinda lost on this one…

  11. #16 by Marnix on June 1, 2011 - 11:33 am

    I have used this captcha for several years now at full satisfaction. However, it now doesn’t seem to work in Internet Explorer 9. The answers are always wrong, except when I ask for a new image (refresh only the image, not the page).

    I understand that this software is old, freeware and hardly supported (anymore), but maybe there is anyone else who experienced (and maybe even solved) this?

  12. #17 by Olaf on September 21, 2011 - 3:48 pm

    To whom it may concern: in some php5 installations, the images didn’t display when setting
    error_reporting(E_ALL ^ E_NOTICE);, but placing
    error_reporting(0); at the top of freecap.php did the job.

    And btw, thanks for the tool, I still like it very much.

  13. #18 by swingono on June 30, 2012 - 1:27 pm

    кредитные карты украина как правильно пользоваться кредитными картами кредитная карта на 50 дней [url=http://forum.termitco.ru/prozrachnaya-kreditnaya-karta-cat/kreditnaya-karta-russkiy-standart-onlayn.php]кредитная карта русский стандарт онлайн[/url] iphone кредитные карты бесплатные кредитки купить кредитную карту [url=http://forum.termitco.ru/kreditnaya-karta-sochi-2014-cat/moskovskiy-industrialniy-bank-kreditnie-karti.php]московский индустриальный банк кредитные карты[/url] правила пользования кредитной картой сбербанка кредитные карты в ярославле пополнение счета кредитной картой [url=http://forum.termitco.ru/kreditka-film-cat/]Кредитка фильм[/url] кредитные карты волгоград банк сбербанк кредитные карты купить кредитную карту [url=http://forum.termitco.ru/ukrali-kreditnuyu-kartu-cat/zolotaya-kreditnaya-karta.php]золотая кредитная карта[/url] расчеты кредитными картами кредитная карта аваль кредитная карта мегафон [url=http://forum.termitco.ru/tinkoff-kreditnaya-karta-cat/tenkov-kreditnie-karti.php]теньков кредитные карты[/url] оформить кредитную карту в банке льготная кредитная карта сбербанка корпоративная кредитная карта [url=http://forum.termitco.ru/operatsii-s-kreditnimi-kartami-cat/revolvernaya-kreditnaya-karta.php]револьверная кредитная карта[/url] кредитные карты в магните украли кредитную карту как увеличить лимит кредитной карты [url=http://forum.termitco.ru/kreditnaya-karta-sochi-2014-cat/kak-zavesti-kreditnuyu-kartu.php]как завести кредитную карту[/url] мдм кредитные карты баланс кредитной карты можно ли пользоваться кредитной картой [url=http://forum.termitco.ru/kak-popolnit-schet-kreditnoy-karti-cat/kreditnaya-karta-sochi.php]кредитная карта сочи[/url] кредитная карта ренессанс кредит кредитная карта маэстро кредитная карта в связном [url=http://forum.termitco.ru/zablokirovali-kreditku-cat/spetsialist-po-kreditnim-kartam.php]специалист по кредитным картам[/url] сбербанк официальный сайт кредитная карта кредитная карта яндекс деньги кредитная карта ханты мансийского банка [url=http://forum.termitco.ru/kreditnaya-karta-sochi-2014-cat/kreditnaya-karta-sberbank-sochi.php]кредитная карта сбербанк сочи[/url] заказать кредитную карту онлайн кредитные карты обман оформить кредитную карту отп банка [url=http://forum.termitco.ru/tinkoff-kreditnaya-karta-cat/proverka-kreditnoy-karti.php]проверка кредитной карты[/url] кредитная карта платинум как закрыть кредитную карту сбербанка как пользоваться кредитной картой сбербанка [url=http://forum.termitco.ru/ukrali-kreditnuyu-kartu-cat/samie-vigodnie-kreditnie-karti.php]самые выгодные кредитные карты[/url] мобильный банк кредитная карта как увеличить лимит кредитной карты кредитная карта без годового обслуживания [url=http://forum.termitco.ru/zablokirovali-kreditku-cat/kreditnaya-karta-100.php]кредитная карта 100[/url] взять кредит тинькофф кредитная карта универсальная приватбанка apple регистрация без кредитной карты [url=http://forum.termitco.ru/kreditnie-karti-ukraina-cat/kreditka-privatbank.php]кредитка приватбанк[/url] беспроцентная кредитная карта проверить счет кредитной карты кредитная карта без прописки [url=http://forum.termitco.ru/operatsii-s-kreditnimi-kartami-cat/oformit-kreditku.php]оформить кредитку[/url] кредитные карты в самаре кредитная карта как пользоваться карта тинькоф [url=http://forum.termitco.ru/kak-popolnit-schet-kreditnoy-karti-cat/poddelnie-kreditnie-karti.php]поддельные кредитные карты[/url] кредитная карта срочно прозрачная кредитная карта оформление кредитной карты через интернет

    [url=http://forum.termitco.ru/popolnit-schet-kreditnoy-kartoy-cat/kreditka-moskomprivatbank.php]кредитка москомприватбанк[/url]
    [url=http://forum.termitco.ru/prozrachnaya-kreditnaya-karta-cat/oformit-kreditnuyu-kartu-otp-banka.php]оформить кредитную карту отп банка[/url]
    [url=http://forum.termitco.ru/kreditnie-karti-dzhi-mani-cat/kreditnaya-karta-onlayn-po-pochte.php]кредитная карта онлайн по почте[/url]

Comments are closed.