WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
PHP integration (1 post)

  1. abdabs
    Member
    Posted 2 years ago #

    Hi,

    I use the Contact Form 7/PHP for quite simple registration use. Thus, I use the $_POST variables to be printed out at a second site, based on what the user entered.

    My own generated CF7 used to work ever so well, after I updated it today. What I did, was that firstly turned off the AJAX and redirected to new site;

    ---wp-contact-form-7.php----
    if ( ! defined( 'WPCF7_LOAD_JS' ) )
    define( 'WPCF7_LOAD_JS', false);
    -----------------------------
    in advanced settings; on_sent_ok: "location.replace('http://www.url.com');"

    But now, the system do not output any of the text fields, textarea,etc in the $_POST variable. What can I do to retrieve all the inputed information??

    Thanks, abdabs

    -- This is what the $_POST var includes now ----
    array(5) {
    ["_wpcf7"]=>
    string(3) “215″
    ["_wpcf7_version"]=>
    string(3) “3.0″
    ["_wpcf7_unit_tag"]=>
    string(16) “wpcf7-f215-p5-o1″
    ["_wpcf7_captcha_challenge_captcha-368"]=>
    string(10) “1298370894″
    ["_wpcf7_mail_sent"]=>
    array(4) {
    ["id"]=>
    int(215)
    ["ok"]=>
    bool(true)
    ["message"]=>
    string(43) “Your message was sent successfully. Thanks.”
    ["spam"]=>
    bool(false)
    }

    What the system

    http://wordpress.org/extend/plugins/contact-form-7/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic