array ("post", "string", ""), "crt" => array ("post", "string", ""), "chain" => array ("post", "string", ""), ); getFields($fields); } if (!$key && !$crt) { $error=_("Please enter an ssl key and a certificate"); require_once("ssl_new.php"); exit(); } $id=$ssl->import_cert($key,$crt,$chain); $error=$err->errstr(); if ($error) { require_once("ssl_new.php"); exit(); } header("Location: /ssl_view.php?id=".$id);