StartForm("password_form", "/content/$origin", "POST", 250); $mba->AddField("message", "This content is password protected.", "message2"); if($_GET['error']=="incorrect") $mba->AddField("error", "INCORRECT PASSWORD", "message2"); $mba->AddField("pwd55", "Password:", "password", "", 20); $mba->RequireField("pwd55", "text", "Please type the password."); $mba->EndForm("access page"); $mba->CompileForm(); $output .= $mba->form_html; echo $output; ?>