Appnitro Software Forums » MachForm

Windows Vista users. Help testing this please?

(19 posts)

  1. Hello folks,

    If you are using Windows Vista, may I ask you to test this form below?

    http://www.appnitro.com/form_testing

    Please use Internet Explored and submit any dummy info there.
    Let me know the result here.

    Thanks for your help!

    (UPDATE: This case is closed. Bugfix is available below)

    Posted 7 months ago #
  2. Works OK in Firefox 2.0, but the Captcha doesn't seem to work in IE 7.0. It keeps saying "error, incorrect entry" when entering the captcha code.

    Using Vista Ultimate, IE 7.0

    Posted 7 months ago #
  3. Andrew - Thank you!!
    I really appreciate it.

    Now the real problem is to fix that captcha error when using IE and Vista.
    I'll keep you posted here.

    Posted 7 months ago #
  4. KamikazeXPS
    Member

    Dont work for me.
    Vista home and IE7
    "captcha error"

    KamikazeXPS

    Posted 7 months ago #
  5. Works fine for me.

    Laptop with:
    Vista Home Premium
    2G Memory
    IE 7

    Saghalie
    http://www.beautiful-beginnings.org

    Posted 7 months ago #
  6. Ok, I've put some debug code there. Can I ask you guys to try it again please?

    After submitting the form, you'll get a debug information. Please paste the result here.
    A sample debug info is below:

    -- Start Copy Here ---
    --Dumping POST data --
    
    Array
    (
        [element_1] => testing
        [element_2] => this is test
        [captcha_response_field] => RPKJS
        [form_id] => 5
        [submit] => Submit
    )
    
    --End Dumping POST data --
    
    $sUser code:
    
    string(5) "RPKJS"
    
    -- Dumping Sessions:
    
    array(1) {
      ["php_captcha"]=>
      string(5) "RPAWJ"
    }
    
    Validation ERROR!
    -- End Copy Here ---

    Thanks in advance for all of your help folks!

    Posted 7 months ago #
  7. Debug info from latest test in IE 7 , Vista Ultimate:

    -- Start Copy Here ---
    --Dumping POST data --

    Array
    (
    [element_1] => Testingt
    [element_2] => Testing
    [captcha_response_field] => KRTBU
    [form_id] => 5
    [submit] => Submit
    )

    --End Dumping POST data --

    $sUser code:

    string(5) "KRTBU"

    -- Dumping Sessions:

    array(0) {
    }

    Validation ERROR!
    -- End Copy Here ---

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/y/u/n/yuniar/html/testing/includes/post-functions.php:889) in /home/content/y/u/n/yuniar/html/testing/embed.php on line 90

    Posted 7 months ago #
  8. KamikazeXPS
    Member

    Vista, IE7
    --Dumping POST data --

    Array
    (
    [element_1] => test
    [element_2] => test
    [captcha_response_field] => qwlqt
    [form_id] => 5
    [submit] => Submit
    )

    --End Dumping POST data --

    $sUser code:

    string(5) "QWLQT"

    -- Dumping Sessions:

    array(0) {
    }

    Validation ERROR!

    Posted 7 months ago #
  9. Hmm.. IE7 in Vista doesn't seem to accept cookies being set from an iframe.
    That's odd, I wonder how it could work for Saghalie?

    Andrew, KamikazeXPS -- can you try to set IE7 to accept cookies from both appnitro.com and phpform.org?

    Or just go to [Tools -> Internet Options -> Privacy] and change the setting to "Accept All Cookies". After that, submit the form again and let me know the result.

    If it doesn't work either, I'm going to setup Vista.

    Thanks again!

    Posted 7 months ago #
  10. It worked this time with IE 7.

    I just added the domains, appnitro.com and phpform.org to allow cookies:
    Tools > Internet Options > Privacy (Tab)> Sites (button). Enter the full URL(s) e.g. www.appnitro.com and www.phpform.org and click "Allow" for each one, rather than having to "accept all" although I expect that would work too, but for me, I have it set at Medium level.

    That got it working, according to the debug below, if I interpret it correctly, the captcha validated correctly.

    -- Start Copy Here ---
    --Dumping POST data --

    Array
    (
    [element_1] => Testing again
    [element_2] => Testing, this time with cookies enabled.
    [captcha_response_field] => GAYWE
    [form_id] => 5
    [submit] => Submit
    )

    --End Dumping POST data --

    $sUser code:

    string(5) "GAYWE"

    -- Dumping Sessions:

    array(1) {
    ["php_captcha"]=>
    string(5) "GAYWE"
    }

    Validation SUCCESS!
    -- End Copy Here ---

    Posted 7 months ago #
  11. oh wow, Andrew, thanks!

    That explains a lot. No wonder the session doesn't seem to work.
    I suppose the default setting of IE7 in Vista is a bit restrictive when dealing with cookies.

    Posted 7 months ago #
  12. KamikazeXPS
    Member

    Just added www.appnitro.com, and not www.phpform.com

    KamikazeXPS

    -- Start Copy Here ---
    --Dumping POST data --

    Array
    (
    [element_1] => test
    [element_2] => test
    [captcha_response_field] => KNJTU
    [form_id] => 5
    [submit] => Submit
    )

    --End Dumping POST data --

    $sUser code:

    string(5) "KNJTU"

    -- Dumping Sessions:

    array(2) {
    ["color_id"]=>
    int(1)
    ["php_captcha"]=>
    string(5) "KNJTU"
    }

    Validation SUCCESS!
    -- End Copy Here ---

    Posted 7 months ago #
  13. --Dumping POST data --

    Array
    (
    [element_1] => Ekahnum Kopet
    [element_2] => Frogs Rule!
    [captcha_response_field] => QASSU
    [form_id] => 5
    [submit] => Submit
    )

    --End Dumping POST data --

    $sUser code:

    string(5) "QASSU"

    -- Dumping Sessions:

    array(1) {
    ["php_captcha"]=>
    string(5) "QASSU"
    }

    Validation SUCCESS!

    Posted 7 months ago #
  14. Thanks for the help guys!

    I think I finally found a fix for this.
    The default setting of IE7 blocks third party cookie which doesn't have compact privacy policy (I know, I don't even know what's that mean before I found this behaviour)

    The internal CAPTCHA is using session, which in turn using session cookies to track the image. Since IE7 block it, then it failed at best.

    The fix is pretty simple, edit your captcha.php file.
    On line 10 you'll find this code:

    session_start();

    Right above that line, add this code:

    header("p3p: CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");

    that would send the correct header to IE7 and fix this bug.

    I'll update the package soon with this fix.

    Posted 7 months ago #
  15. sonor
    Member

    this fix did not seem to fix it for me?

    Posted 6 months ago #
  16. sonor
    Member

    this is what it looks like: (does not work still for me)

    <?php
    /******************************************************************************
    MachForm

    Copyright 2007 Appnitro Software. This code cannot be redistributed without
    permission from http://www.appnitro.com/

    More info at: http://www.appnitro.com/
    ******************************************************************************/
    header("p3p: CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");
    session_start();

    require('lib/php-captcha/php-captcha.inc.php');

    $fonts = array('lib/php-captcha/VeraSeBd.ttf','lib/php-captcha/VeraBd.ttf');
    $captcha = new PhpCaptcha($fonts, 200, 60);
    $captcha->Create();

    ?>

    Posted 6 months ago #
  17. Are you using IE7 too?

    Go to: Tools -> Internet Options -> Privacy
    What is your setting there?

    By default, it should be "Medium".

    Also, can you paste me the URL to your form?
    Mail me if you don't want to post it here (yuniar [at] appnitro.com)

    Posted 6 months ago #
  18. Used both Firefox and IE 7.0 but saw no Captcha.

    Posted 6 months ago #
  19. sonor
    Member

    well very odd it started working when i tested it this morning!

    no idea why!

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.