Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

public function create_user() { goto codxK; GZXNZ: goto YxsZ9; goto S51pL; qYNun: $this..

Decoded Output download

<?   
 public function create_user() { goto codxK; GZXNZ: goto YxsZ9; goto S51pL; qYNun: $this->data["password"] = ["name" => "password", "id" => "password", "type" => "password", "value" => $this->form_validation->set_value("password")]; goto z_Imh; hNhAO: $this->data["message"] = validation_errors() ? validation_errors() : ($this->ion_auth->errors() ? $this->ion_auth->errors() : $this->session->flashdata("message")); goto Lsod4; paYTC: $this->data["email"] = ["name" => "email", "id" => "email", "type" => "text", "value" => $this->form_validation->set_value("email")]; goto XlQjJ; lHGjh: $this->form_validation->set_rules("password", $this->lang->line("create_user_validation_password_label"), "required|min_length[" . $this->config->item("min_password_length", "ion_auth") . "]|matches[password_confirm]"); goto j7t4t; F9luG: IGEPd: goto WiWAH; DbyvO: $this->session->set_flashdata("message", $this->ion_auth->messages()); goto wmYly; WiWAH: if ($this->form_validation->run() === TRUE && $this->ion_auth->register($identity, $password, $email, $additional_data)) { goto Cb68l; } goto hNhAO; FmHth: if ($identity_column !== "email") { goto iAui3; } goto UPoGQ; PA7E4: goto ZUPY3; goto jnEtB; fcKzw: $this->data["identity_column"] = $identity_column; goto zPXlw; RizJx: ZUPY3: goto Dc0xp; z_Imh: $this->data["password_confirm"] = ["name" => "password_confirm", "id" => "password_confirm", "type" => "password", "value" => $this->form_validation->set_value("password_confirm")]; goto fBBMs; vAs94: $tables = $this->config->item("tables", "ion_auth"); goto OebMa; ftsZp: $this->form_validation->set_rules("identity", $this->lang->line("create_user_validation_identity_label"), "trim|required|is_unique[" . $tables["users"] . "." . $identity_column . "]"); goto mGIIf; JK8vV: $additional_data = ["first_name" => $this->input->post("first_name"), "last_name" => $this->input->post("last_name"), "company" => $this->input->post("company"), "phone" => $this->input->post("phone")]; goto F9luG; zPXlw: $this->form_validation->set_rules("first_name", $this->lang->line("create_user_validation_fname_label"), "trim|required"); goto E2Sgr; NHFi0: Rog18: goto vAs94; btFIO: $identity = $identity_column === "email" ? $email : $this->input->post("identity"); goto AnZzh; vdW_D: $this->data["phone"] = ["name" => "phone", "id" => "phone", "type" => "text", "value" => $this->form_validation->set_value("phone")]; goto qYNun; itqwA: $this->data["identity"] = ["name" => "identity", "id" => "identity", "type" => "text", "value" => $this->form_validation->set_value("identity")]; goto paYTC; mGIIf: $this->form_validation->set_rules("email", $this->lang->line("create_user_validation_email_label"), "trim|required|valid_email"); goto DPeJu; Lsod4: $this->data["first_name"] = ["name" => "first_name", "id" => "first_name", "type" => "text", "value" => $this->form_validation->set_value("first_name")]; goto OBMdK; PbFLi: if (!($this->form_validation->run() === TRUE)) { goto IGEPd; } goto jaWQG; DPeJu: YxsZ9: goto X_D0m; jaWQG: $email = strtolower($this->input->post("email")); goto btFIO; jnEtB: Cb68l: goto DbyvO; UPoGQ: $this->form_validation->set_rules("email", $this->lang->line("create_user_validation_email_label"), "trim|required|valid_email|is_unique[" . $tables["users"] . ".email]"); goto GZXNZ; QA25y: if (!(!$this->ion_auth->logged_in() || !$this->ion_auth->is_admin())) { goto Rog18; } goto x7YYt; XlQjJ: $this->data["company"] = ["name" => "company", "id" => "company", "type" => "text", "value" => $this->form_validation->set_value("company")]; goto vdW_D; x7YYt: redirect("auth", "refresh"); goto NHFi0; j7t4t: $this->form_validation->set_rules("password_confirm", $this->lang->line("create_user_validation_password_confirm_label"), "required"); goto PbFLi; OBMdK: $this->data["last_name"] = ["name" => "last_name", "id" => "last_name", "type" => "text", "value" => $this->form_validation->set_value("last_name")]; goto itqwA; S51pL: iAui3: goto ftsZp; E2Sgr: $this->form_validation->set_rules("last_name", $this->lang->line("create_user_validation_lname_label"), "trim|required"); goto FmHth; OebMa: $identity_column = $this->config->item("identity", "ion_auth"); goto fcKzw; wmYly: redirect("auth", "refresh"); goto RizJx; AnZzh: $password = $this->input->post("password"); goto JK8vV; codxK: $this->data["title"] = $this->lang->line("create_user_heading"); goto QA25y; ZVgMu: $this->form_validation->set_rules("company", $this->lang->line("create_user_validation_company_label"), "trim"); goto lHGjh; fBBMs: $this->_render_page("auth" . DIRECTORY_SEPARATOR . "create_user", $this->data); goto PA7E4; X_D0m: $this->form_validation->set_rules("phone", $this->lang->line("create_user_validation_phone_label"), "trim"); goto ZVgMu; Dc0xp: }   ?>

Did this file decode correctly?

Original Code


 public function create_user() { goto codxK; GZXNZ: goto YxsZ9; goto S51pL; qYNun: $this->data["password"] = ["name" => "password", "id" => "password", "type" => "password", "value" => $this->form_validation->set_value("password")]; goto z_Imh; hNhAO: $this->data["message"] = validation_errors() ? validation_errors() : ($this->ion_auth->errors() ? $this->ion_auth->errors() : $this->session->flashdata("message")); goto Lsod4; paYTC: $this->data["email"] = ["name" => "email", "id" => "email", "type" => "text", "value" => $this->form_validation->set_value("email")]; goto XlQjJ; lHGjh: $this->form_validation->set_rules("password", $this->lang->line("create_user_validation_password_label"), "required|min_length[" . $this->config->item("min_password_length", "ion_auth") . "]|matches[password_confirm]"); goto j7t4t; F9luG: IGEPd: goto WiWAH; DbyvO: $this->session->set_flashdata("message", $this->ion_auth->messages()); goto wmYly; WiWAH: if ($this->form_validation->run() === TRUE && $this->ion_auth->register($identity, $password, $email, $additional_data)) { goto Cb68l; } goto hNhAO; FmHth: if ($identity_column !== "email") { goto iAui3; } goto UPoGQ; PA7E4: goto ZUPY3; goto jnEtB; fcKzw: $this->data["identity_column"] = $identity_column; goto zPXlw; RizJx: ZUPY3: goto Dc0xp; z_Imh: $this->data["password_confirm"] = ["name" => "password_confirm", "id" => "password_confirm", "type" => "password", "value" => $this->form_validation->set_value("password_confirm")]; goto fBBMs; vAs94: $tables = $this->config->item("tables", "ion_auth"); goto OebMa; ftsZp: $this->form_validation->set_rules("identity", $this->lang->line("create_user_validation_identity_label"), "trim|required|is_unique[" . $tables["users"] . "." . $identity_column . "]"); goto mGIIf; JK8vV: $additional_data = ["first_name" => $this->input->post("first_name"), "last_name" => $this->input->post("last_name"), "company" => $this->input->post("company"), "phone" => $this->input->post("phone")]; goto F9luG; zPXlw: $this->form_validation->set_rules("first_name", $this->lang->line("create_user_validation_fname_label"), "trim|required"); goto E2Sgr; NHFi0: Rog18: goto vAs94; btFIO: $identity = $identity_column === "email" ? $email : $this->input->post("identity"); goto AnZzh; vdW_D: $this->data["phone"] = ["name" => "phone", "id" => "phone", "type" => "text", "value" => $this->form_validation->set_value("phone")]; goto qYNun; itqwA: $this->data["identity"] = ["name" => "identity", "id" => "identity", "type" => "text", "value" => $this->form_validation->set_value("identity")]; goto paYTC; mGIIf: $this->form_validation->set_rules("email", $this->lang->line("create_user_validation_email_label"), "trim|required|valid_email"); goto DPeJu; Lsod4: $this->data["first_name"] = ["name" => "first_name", "id" => "first_name", "type" => "text", "value" => $this->form_validation->set_value("first_name")]; goto OBMdK; PbFLi: if (!($this->form_validation->run() === TRUE)) { goto IGEPd; } goto jaWQG; DPeJu: YxsZ9: goto X_D0m; jaWQG: $email = strtolower($this->input->post("email")); goto btFIO; jnEtB: Cb68l: goto DbyvO; UPoGQ: $this->form_validation->set_rules("email", $this->lang->line("create_user_validation_email_label"), "trim|required|valid_email|is_unique[" . $tables["users"] . ".email]"); goto GZXNZ; QA25y: if (!(!$this->ion_auth->logged_in() || !$this->ion_auth->is_admin())) { goto Rog18; } goto x7YYt; XlQjJ: $this->data["company"] = ["name" => "company", "id" => "company", "type" => "text", "value" => $this->form_validation->set_value("company")]; goto vdW_D; x7YYt: redirect("auth", "refresh"); goto NHFi0; j7t4t: $this->form_validation->set_rules("password_confirm", $this->lang->line("create_user_validation_password_confirm_label"), "required"); goto PbFLi; OBMdK: $this->data["last_name"] = ["name" => "last_name", "id" => "last_name", "type" => "text", "value" => $this->form_validation->set_value("last_name")]; goto itqwA; S51pL: iAui3: goto ftsZp; E2Sgr: $this->form_validation->set_rules("last_name", $this->lang->line("create_user_validation_lname_label"), "trim|required"); goto FmHth; OebMa: $identity_column = $this->config->item("identity", "ion_auth"); goto fcKzw; wmYly: redirect("auth", "refresh"); goto RizJx; AnZzh: $password = $this->input->post("password"); goto JK8vV; codxK: $this->data["title"] = $this->lang->line("create_user_heading"); goto QA25y; ZVgMu: $this->form_validation->set_rules("company", $this->lang->line("create_user_validation_company_label"), "trim"); goto lHGjh; fBBMs: $this->_render_page("auth" . DIRECTORY_SEPARATOR . "create_user", $this->data); goto PA7E4; X_D0m: $this->form_validation->set_rules("phone", $this->lang->line("create_user_validation_phone_label"), "trim"); goto ZVgMu; Dc0xp: }  

Function Calls

None

Variables

None

Stats

MD5 4fbec7ac6704511fbc43800fa3c6500e
Eval Count 0
Decode Time 65 ms