WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Register Plus] Simple Captcha not working: cause figured out (2 posts)

  1. slsdoug
    Member
    Posted 5 years ago #

    I figured out why the simple captcha is not working.
    wp-login.php calls:
    wp-load.php calls:
    wp-config.php calls:
    wp-settings.php which invokes:
    wp_unregister_globals() (around line 46) which unsets $_SESSION variables if register_globals is ON.

    If register_globals is turned OFF on your PHP server, then simple captcha will work. This explains why it works for some and not others. BTW register_globals is OFF permanently in PHP 6.0.

    Doug
    http://www.smartlabsoftware.com

  2. maorb
    Member
    Posted 5 years ago #

    You're right Doug.
    Anyway, you don't have to call you hosting to change their PHP server setting. You may turn it off by adding this line to your .htaccess file:

    php_flag register_globals off

    I've tried this, and the CAPTCHA started to work just great with Register Plus.

    Maor

Topic Closed

This topic has been closed to new replies.

About this Topic