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 update_appsetting() { $app = array("\x6d\x65\163\163\141\x67\x65" => $this..
Decoded Output download
<? public function update_appsetting() { $app = array("message" => $this->input->post("message"), "home_text" => $this->input->post("hometext"), "withdraw_text" => $this->input->post("withdrawtext"), "withdraw_no" => $this->input->post("withdrawnumber"), "upi" => $this->input->post("upi"), "upi_name" => $this->input->post("upi_name"), "min_amount" => $this->input->post("min_amount"), "w_amount" => $this->input->post("w_amount"), "telegram_id" => $this->input->post("telegram_id"), "whatsapp_no" => $this->input->post("whatsapp_no"), "disclaimer_text" => $this->input->post("disclaimer_text"), "addf_telegram_id" => $this->input->post("addf_telegram_id"), "addf_whatsapp_no" => $this->input->post("addf_whatsapp_no"), "addf_title" => $this->input->post("addf_title"), "wining_transfer_fee" => $this->input->post("wallet_fee"), "transfer_fee" => $this->input->post("main_wallet_fee"), "upi_desc" => $this->input->post("upi_desc")); $data = $_FILES["notice_board"]["name"]; if ($data != '') { $config["image_library"] = "gd2"; $config["source_image"] = $_FILES["notice_board"]["tmp_name"]; $config["create_thumb"] = FALSE; $config["maintain_ratio"] = FALSE; $config["width"] = "auto"; $config["height"] = "auto"; $config["quality"] = "60%"; $config["new_image"] = __DIR__ . "/../../assets/" . $data; $this->load->library("image_lib", $config); $this->image_lib->resize(); $app["notice_board_img"] = base_url() . "assets/" . $data; } $data_club = $_FILES["club_chart"]["name"]; if ($data_club != '') { $config["image_library"] = "gd2"; $config["source_image"] = $_FILES["club_chart"]["tmp_name"]; $config["create_thumb"] = FALSE; $config["maintain_ratio"] = FALSE; $config["width"] = "auto"; $config["height"] = "auto"; $config["quality"] = "60%"; $config["new_image"] = __DIR__ . "/../../assets/" . $data_club; $this->load->library("image_lib", $config); $this->image_lib->resize(); $app["club_chart_img"] = base_url() . "assets/" . $data_club; } if ($this->input->post("notice_status") == "1") { $app["notice_board_img"] = ''; } if ($this->input->post("club_img_status") == "1") { $app["club_chart_img"] = ''; } $this->db->where("id", 1); $this->db->update("app_setting", $app); $this->db->update("timeslots", array("start_time" => $this->input->post("start_time"), "end_time" => $this->input->post("end_time"))); return true; } public function get_posts($slug = FALSE) { if ($slug === FALSE) { $query = $this->db->order_by("id", "DESC"); $query = $this->db->get("posts"); return $query->result_array(); } $query = $this->db->get_where("posts", array("slug" => $slug)); return $query->row_array(); } ?>
Did this file decode correctly?
Original Code
public function update_appsetting() { $app = array("\x6d\x65\163\163\141\x67\x65" => $this->input->post("\x6d\x65\163\163\x61\147\145"), "\x68\157\155\145\x5f\x74\x65\x78\x74" => $this->input->post("\x68\x6f\155\145\164\145\x78\x74"), "\x77\151\x74\150\144\162\x61\x77\x5f\x74\145\x78\x74" => $this->input->post("\x77\x69\164\150\x64\162\x61\167\x74\145\170\x74"), "\x77\x69\164\x68\x64\x72\x61\167\x5f\x6e\x6f" => $this->input->post("\167\x69\164\x68\x64\162\x61\167\156\x75\155\x62\145\162"), "\165\160\151" => $this->input->post("\x75\x70\151"), "\x75\160\151\137\x6e\141\x6d\145" => $this->input->post("\165\160\151\x5f\x6e\x61\155\145"), "\x6d\x69\156\137\141\155\157\x75\156\164" => $this->input->post("\155\x69\x6e\x5f\141\x6d\157\165\x6e\164"), "\x77\137\141\x6d\157\x75\x6e\164" => $this->input->post("\167\137\141\x6d\157\165\x6e\x74"), "\164\145\x6c\145\147\x72\x61\x6d\x5f\151\144" => $this->input->post("\x74\x65\154\145\147\162\x61\155\137\151\x64"), "\167\150\x61\164\163\x61\160\x70\x5f\156\x6f" => $this->input->post("\167\x68\x61\x74\x73\141\x70\160\x5f\x6e\x6f"), "\x64\151\x73\143\154\141\151\x6d\145\162\x5f\x74\x65\170\x74" => $this->input->post("\x64\151\x73\x63\x6c\x61\151\155\x65\x72\137\x74\x65\x78\164"), "\141\x64\x64\146\137\x74\145\154\145\147\162\141\155\137\151\144" => $this->input->post("\141\x64\144\x66\137\164\145\154\145\x67\x72\141\x6d\137\151\144"), "\141\x64\x64\x66\x5f\167\x68\x61\164\163\141\160\160\x5f\156\157" => $this->input->post("\x61\x64\x64\x66\x5f\x77\150\x61\x74\x73\141\160\160\x5f\156\157"), "\x61\x64\144\x66\137\164\151\164\x6c\x65" => $this->input->post("\x61\x64\x64\x66\137\x74\x69\164\x6c\x65"), "\167\151\156\151\156\147\137\164\162\x61\156\x73\x66\x65\162\137\146\x65\145" => $this->input->post("\x77\141\x6c\x6c\x65\164\137\x66\145\x65"), "\x74\162\141\x6e\163\x66\x65\162\137\x66\145\x65" => $this->input->post("\155\141\x69\156\137\167\141\x6c\x6c\145\x74\137\146\x65\145"), "\x75\x70\x69\x5f\144\145\163\143" => $this->input->post("\165\160\x69\137\x64\145\163\143")); $data = $_FILES["\156\157\164\x69\143\145\137\142\157\x61\x72\x64"]["\x6e\141\x6d\145"]; if ($data != '') { $config["\x69\x6d\141\x67\x65\137\x6c\x69\x62\x72\141\x72\171"] = "\x67\144\x32"; $config["\x73\x6f\x75\x72\143\x65\137\151\x6d\141\147\145"] = $_FILES["\x6e\x6f\164\x69\143\145\137\x62\157\141\x72\144"]["\x74\155\160\x5f\156\141\x6d\145"]; $config["\143\x72\145\141\x74\x65\x5f\x74\x68\x75\155\x62"] = FALSE; $config["\x6d\x61\151\x6e\x74\141\151\x6e\x5f\162\141\164\x69\x6f"] = FALSE; $config["\x77\x69\144\x74\x68"] = "\141\165\x74\x6f"; $config["\x68\145\151\x67\x68\x74"] = "\141\x75\x74\x6f"; $config["\161\165\x61\154\x69\x74\171"] = "\x36\60\45"; $config["\156\145\x77\137\x69\155\x61\x67\145"] = __DIR__ . "\x2f\56\x2e\57\x2e\56\x2f\x61\163\163\145\164\163\57" . $data; $this->load->library("\x69\155\141\147\x65\x5f\x6c\x69\x62", $config); $this->image_lib->resize(); $app["\x6e\157\x74\151\143\x65\137\142\157\141\162\x64\x5f\151\x6d\147"] = base_url() . "\x61\x73\x73\145\x74\163\x2f" . $data; } $data_club = $_FILES["\143\154\x75\x62\137\x63\x68\141\x72\x74"]["\156\x61\x6d\x65"]; if ($data_club != '') { $config["\151\x6d\141\147\x65\137\154\x69\142\162\x61\x72\x79"] = "\x67\x64\62"; $config["\x73\x6f\165\162\143\145\x5f\x69\155\141\x67\145"] = $_FILES["\x63\x6c\165\x62\137\143\x68\x61\162\x74"]["\164\x6d\x70\x5f\x6e\141\x6d\x65"]; $config["\x63\x72\145\141\164\x65\x5f\x74\150\165\x6d\x62"] = FALSE; $config["\155\x61\151\x6e\164\x61\x69\156\x5f\x72\141\164\x69\157"] = FALSE; $config["\x77\151\x64\x74\x68"] = "\141\165\x74\x6f"; $config["\x68\x65\151\147\150\164"] = "\x61\165\164\x6f"; $config["\161\x75\141\x6c\x69\164\171"] = "\x36\x30\45"; $config["\156\145\x77\137\151\x6d\141\x67\x65"] = __DIR__ . "\x2f\56\x2e\x2f\56\56\57\x61\163\x73\145\x74\x73\57" . $data_club; $this->load->library("\x69\x6d\x61\147\145\137\x6c\x69\142", $config); $this->image_lib->resize(); $app["\x63\154\165\142\137\x63\150\x61\162\164\x5f\x69\155\147"] = base_url() . "\141\163\163\x65\164\x73\57" . $data_club; } if ($this->input->post("\156\x6f\164\151\143\145\137\x73\x74\x61\164\165\163") == "\x31") { $app["\x6e\x6f\x74\x69\143\x65\x5f\142\157\x61\x72\144\137\151\x6d\147"] = ''; } if ($this->input->post("\143\154\165\x62\137\151\x6d\x67\137\x73\164\141\x74\x75\x73") == "\61") { $app["\143\x6c\165\142\137\x63\x68\141\x72\164\137\x69\155\x67"] = ''; } $this->db->where("\x69\x64", 1); $this->db->update("\x61\x70\160\137\x73\145\x74\164\x69\x6e\x67", $app); $this->db->update("\x74\x69\155\x65\163\x6c\x6f\x74\x73", array("\163\164\x61\162\x74\x5f\164\151\155\x65" => $this->input->post("\163\164\x61\x72\x74\137\x74\x69\x6d\145"), "\145\x6e\144\x5f\x74\x69\x6d\x65" => $this->input->post("\x65\156\x64\x5f\164\151\155\145"))); return true; } public function get_posts($slug = FALSE) { if ($slug === FALSE) { $query = $this->db->order_by("\x69\144", "\x44\105\123\x43"); $query = $this->db->get("\160\157\163\x74\163"); return $query->result_array(); } $query = $this->db->get_where("\160\157\163\164\163", array("\163\154\165\x67" => $slug)); return $query->row_array(); }
Function Calls
| None |
Stats
| MD5 | 287eb68056bafcde1994ddbffe8d870e |
| Eval Count | 0 |
| Decode Time | 77 ms |