Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Maybe this will help you… you need the [insert_php] plugin installed.
    I had the same problem with resubmitting the $_POST array from a form to a new page. This small code in your page to will reconstruct your $_POST data in the variable $postvals. With some adjustements you could solve your problem… and sorry for the ugly indent:

    [insert_php]
    $postvals=”;$thv=’ type=’.'”hidden”‘.’ value=’;
    foreach ($_POST as $key=>$values){
    if(is_array($values)){
    $iv=0;
    foreach ($values as $value){ $postvals.='<inputname=’.'”‘.$key.'[‘.$iv.’]’.'”‘.$thv.'”‘.$value.'”‘.’>’; $iv+=1; };
    }else{
    $postvals.='<input name=’.'”‘.$key.'”‘.$thv.'”‘.$values.'”‘.’>’;
    };
    };
    echo $postvals;
    [/insert_php]

    A temporary fix for this problem I used:
    Change line 129 in abase_plugin_options.php FROM:

    $dbhost_=[];$dbname_=[];$dbpwd_=[];$dbuser_=[];$dbfiles_=[];

    TO:
    $dbhost_=array();$dbname_=array();$dbpwd_=array();$dbuser_=array();$dbfiles_=array();

    You are probably using an ‘old’ PHP version on your system.

    You can also upgrade your PHP to the newest version. This will fix the problem permantly.

Viewing 2 replies - 1 through 2 (of 2 total)