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

Signing you up...

Thank you for signing up!

PHP Decode

<?php class qr { private $uniacid; private $openid; private $qrimgdir = "\146\170\161\x7..

Decoded Output download

<?php 
 class qr { private $uniacid; private $openid; private $qrimgdir = "fxqrimg"; private $newdir = "new"; private $headdir = "headimg"; public function __construct($config) { goto MHqDQ; MHqDQ: $this->uniacid = $config["uniacid"]; goto rw1NC; ivfGV: $this->headdir = !empty($config["headdir"]) ? $config["headdir"] : $this->headdir; goto noU9m; JiMhj: $this->newdir = !empty($config["newdir"]) ? $config["newdir"] : $this->newdir; goto ivfGV; rw1NC: $this->openid = $config["openid"]; goto I2JyQ; I2JyQ: $this->qrimgdir = !empty($config["qrimgdir"]) ? $config["qrimgdir"] : $this->qrimgdir; goto JiMhj; noU9m: } public function getheadimg($avatar) { goto A6R8l; AThKs: eJrpA: goto KYAto; Z30u9: return $imgfile; goto AThKs; mdCOy: goto eJrpA; goto u8VtW; MMa1M: curl_setopt($hander, CURLOPT_TIMEOUT, 60); goto p7Jf_; G_Xsn: curl_setopt($hander, CURLOPT_FOLLOWLOCATION, 1); goto ACyE3; BlFqT: curl_setopt($hander, CURLOPT_FILE, $fp); goto tEYM4; ACyE3: curl_setopt($hander, CURLOPT_USERAGENT, "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"); goto MMa1M; qbjQ1: fclose($fp); goto bPQeP; AqRa2: curl_close($hander); goto qbjQ1; i96Cb: curl_setopt($hander, CURLOPT_URL, $avatar); goto BlFqT; p7Jf_: curl_exec($hander); goto AqRa2; QROAh: $hander = curl_init(); goto YZBBk; A6R8l: $imgfile = ATTACHMENT_ROOT . "/" . $this->qrimgdir . "/" . $this->uniacid . "/" . $this->headdir . "/" . $this->openid . ".png"; goto QROAh; gTz7F: return false; goto mdCOy; tEYM4: curl_setopt($hander, CURLOPT_HEADER, 0); goto G_Xsn; u8VtW: MPWtn: goto Z30u9; bPQeP: if (file_exists($imgfile)) { goto MPWtn; } goto gTz7F; YZBBk: $fp = fopen($imgfile, "wb"); goto i96Cb; KYAto: } public function getqr($qrticket) { goto jEm3V; tsqzh: file_put_contents($file, $content["content"]); goto CA5nS; cGv0L: GBnN5: goto LWCfY; ALW0W: Ph32i: goto oZ_a9; mUmkc: return false; goto BSeB5; BSeB5: goto Ph32i; goto cGv0L; k_L1u: $content = ihttp_get($url); goto YI6Yi; jEm3V: $url = "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=" . $qrticket; goto k_L1u; LWCfY: return $file; goto ALW0W; CA5nS: if (file_exists($file)) { goto GBnN5; } goto mUmkc; YI6Yi: $file = ATTACHMENT_ROOT . $this->qrimgdir . "/" . $this->uniacid . "/" . $this->openid . ".png"; goto tsqzh; oZ_a9: } public function getbg($qrbg) { goto LOGLk; VZcnf: return false; goto o8uIr; vsp7f: if (!empty($_W["setting"]["remote"]["type"])) { goto WHCZq; } goto OKtqN; cISkV: goto NLdZS; goto sw7VR; GSHMV: return $file; goto PorOT; t4nl8: $file = ATTACHMENT_ROOT . $qrbg; goto zW5wR; OKtqN: $file = ATTACHMENT_ROOT . $qrbg; goto cISkV; GICEp: $url = tomedia($qrbg); goto HXohS; zW5wR: file_put_contents($file, $content); goto SXX0W; PorOT: z0mZs: goto OYaSa; WtHpz: VUkwK: goto GSHMV; HXohS: $content = file_get_contents($url); goto t4nl8; LOGLk: global $_W; goto vsp7f; o8uIr: goto z0mZs; goto WtHpz; sw7VR: WHCZq: goto GICEp; SXX0W: NLdZS: goto AY7HX; AY7HX: if (file_exists($file)) { goto VUkwK; } goto VZcnf; OYaSa: } public function chekdir($dir) { goto YZSV4; fzGkf: mkdirs($dir); goto sGP_n; YZSV4: $dir = ATTACHMENT_ROOT . $this->qrimgdir . "/" . $this->uniacid . "/" . $dir; goto TAKPq; sGP_n: nFQz2: goto x200K; TAKPq: load()->func("file"); goto pIk1T; pIk1T: $RPK5F = is_dir($dir); goto l05LI; l05LI: if ($RPK5F) { goto nFQz2; } goto fzGkf; x200K: } public function getimg($qrticket, $qrbg, $nickname, $avatar, $qrfontcolor = "#ff0000", $qrfontsize = "18", $location = array()) { goto i_q7d; l3a_Z: $h_qrfontsize = $qrfontsize; goto Rhca8; iwxao: goto M4QtD; goto yzTqc; mAMyw: M4QtD: goto E_5tj; zq0hM: file_delete($qrbg); goto qU9ch; bahB7: $upfile = str_replace(ATTACHMENT_ROOT, '', $srcfile); goto Qvcmd; Qvcmd: $newhead = ATTACHMENT_ROOT . $this->qrimgdir . "/" . $this->uniacid . "/" . $this->newdir . "/head" . $this->openid . ".png"; goto ir64b; RNndI: $res = str_replace(IA_ROOT . "/", $_W["siteroot"], $srcfile); goto Z467X; I0ABg: $h_qrbgimg = $this->getbg($qrbg); goto UEzpa; yzTqc: lEvje: goto RNndI; uh5Pb: file_delete($newhead); goto zq0hM; Z467X: return $res; goto mAMyw; i_q7d: global $_W; goto gTskg; CKDLr: if ($eRbQy) { goto ic20n; } goto bahB7; vCKKr: $h_qrusername = $nickname; goto RuAlv; rD18H: return $res; goto U_XJj; U_XJj: ic20n: goto U81QG; gTskg: $this->chekdir("new"); goto n2v8h; T8mGM: $eRbQy = empty($_W["setting"]["remote"]["type"]); goto CKDLr; RTbpk: $h_qrimg = $this->getqr($qrticket); goto I0ABg; W2R0t: file_delete($h_qrimg); goto X8rmR; uw8k_: file_delete($upfile); goto W2R0t; Rhca8: $srcfile = $this->get_qrimg($h_qrimg, $h_qrbgimg, $h_qrheadimg, $h_qrusername, $h_qrfontcolor, $h_qrfontsize, $location); goto T8mGM; hlV_C: return false; goto iwxao; qU9ch: $res = tomedia($upfile); goto rD18H; ir64b: $qrbg = file_remote_upload($upfile); goto uw8k_; X8rmR: file_delete($h_qrheadimg); goto uh5Pb; n2v8h: $this->chekdir("headimg"); goto RTbpk; U81QG: if (file_exists($srcfile)) { goto lEvje; } goto hlV_C; UEzpa: $h_qrheadimg = $this->getheadimg($avatar); goto vCKKr; RuAlv: $h_qrfontcolor = $qrfontcolor; goto l3a_Z; E_5tj: } public function get_qrimg($qrimg, $qrbgimg, $qrheadimg, $qrusername, $qrfontcolor = "#ff0000", $qrfontsize, $location = array()) { goto KG3aI; RonZC: $img->resize(); goto v_16Y; IrSte: $config["wm_type"] = "overlay"; goto Qyu0R; YDIpJ: $config["source_image"] = $qrheadimg; goto idycI; JI2B3: $config["source_image"] = ATTACHMENT_ROOT . $this->qrimgdir . "/" . $this->uniacid . "/" . $this->newdir . "/" . $this->openid . ".png"; goto jsdxH; I5okL: $config["wm_overlay_path"] = $qrimg; goto IrSte; WBAt4: $config["source_image"] = ATTACHMENT_ROOT . $this->qrimgdir . "/" . $this->uniacid . "/" . $this->newdir . "/" . $this->openid . ".png"; goto I5okL; lLPLT: $img->resize(); goto Bf8Z8; s1KoG: $config["wm_font_color"] = $qrfontcolor; goto cmmZ3; E2_w0: $config = array(); goto YDIpJ; NBYOO: $img->initialize($config); goto ClaNR; xg9oh: $config["width"] = $location["head_width"] ? $location["head_width"] : 75; goto VwPT9; qkfEA: $config["source_image"] = $qrbgimg; goto BiCm9; D7eS4: $config["source_image"] = ATTACHMENT_ROOT . $this->qrimgdir . "/" . $this->uniacid . "/" . $this->newdir . "/" . $this->openid . ".png"; goto SUoM3; cmmZ3: $config["wm_hor_offset"] = $location["name_lx"] ? $location["name_lx"] : 270; goto eRyFa; J8N6C: $config["width"] = $location["qr_width"] ? $location["qr_width"] : 175; goto g7HtY; XgoHi: $config["wm_font_size"] = $qrfontsize; goto s1KoG; lbmPu: $config["new_image"] = ''; goto D7eS4; msg1m: $img->watermark(); goto LY6Cn; C3u4s: $img->initialize($config); goto ePjzG; iH843: $config["wm_font_path"] = MODULE_ROOT . "/fxstatic/images/msyh.ttf"; goto XgoHi; SWlGt: $img->initialize($config); goto lLPLT; ClaNR: $img->watermark(); goto ewPPi; ZqtH8: $config["wm_vrt_offset"] = $location["head_ly"] ? $location["head_ly"] : 20; goto aZHb1; g7HtY: $config["height"] = $location["qr_height"] ? $location["qr_height"] : 175; goto VPDJb; Qg9vE: $config["wm_type"] = "overlay"; goto GKDIA; ewPPi: return $config["source_image"]; goto JilyQ; DNnGL: $img->resize(); goto qmGu_; Bf8Z8: $config = array(); goto WBAt4; ePjzG: $img->watermark(); goto E2_w0; Qyu0R: $config["wm_hor_offset"] = $location["qr_lx"] ? $location["qr_lx"] : 177; goto EiLgE; QNlKZ: $config["width"] = $location["bg_width"] ? $location["bg_width"] : 530; goto eldiV; eldiV: $config["height"] = $location["bg_height"] ? $location["bg_height"] : 800; goto SWlGt; LY6Cn: $config = array(); goto JI2B3; BiCm9: $config["new_image"] = ATTACHMENT_ROOT . $this->qrimgdir . "/" . $this->uniacid . "/" . $this->newdir . "/" . $this->openid . ".png"; goto QNlKZ; UCpx2: $img->initialize($config); goto RonZC; GKDIA: $config["wm_hor_offset"] = $location["head_lx"] ? $location["head_lx"] : 50; goto ZqtH8; qmGu_: $config = array(); goto qkfEA; jsdxH: $config["wm_text"] = $qrusername; goto lCQUv; KG3aI: $config["source_image"] = $qrimg; goto J8N6C; v_16Y: $config = array(); goto lbmPu; SUoM3: $config["wm_overlay_path"] = ATTACHMENT_ROOT . $this->qrimgdir . "/" . $this->uniacid . "/" . $this->newdir . "/head" . $this->openid . ".png"; goto Qg9vE; eRyFa: $config["wm_vrt_offset"] = $location["name_ly"] ? $location["name_ly"] : 40; goto NBYOO; ZwWxA: $config["wm_x_transp"] = 4; goto wL728; VwPT9: $config["height"] = $location["head_height"] ? $location["head_height"] : 75; goto UCpx2; EiLgE: $config["wm_vrt_offset"] = $location["qr_ly"] ? $location["qr_ly"] : 404; goto W3Ev4; VPDJb: $img = new CI_Image_lib($config); goto DNnGL; W3Ev4: $config["wm_x_transp"] = 4; goto ZwWxA; lCQUv: $config["wm_type"] = "text"; goto iH843; idycI: $config["new_image"] = ATTACHMENT_ROOT . $this->qrimgdir . "/" . $this->uniacid . "/" . $this->newdir . "/head" . $this->openid . ".png"; goto xg9oh; aZHb1: $img->initialize($config); goto msg1m; wL728: $config["$wm_opacity"] = 100; goto C3u4s; JilyQ: } public function get_mediaid_byimg($srcfile, $token) { goto cBFlk; cBFlk: $media = array("type" => "image", "media" => $srcfile); goto mvZIW; f5Ybs: $response = ihttp_request($sendapi, $data); goto ErVKg; O1EcY: return $result["media_id"]; goto xmkDC; mvZIW: $sendapi = "http://file.api.weixin.qq.com/cgi-bin/media/upload?access_token={$token}&type={$media["type"]}"; goto ziQ51; tRdFG: return false; goto Pmqyu; ziQ51: $data = array("media" => "@" . $media["media"]); goto f5Ybs; Pmqyu: ud3K9: goto O1EcY; mfaeA: $result["media_id"] = $response["media_id"]; goto uciev; UFbHE: if ($IMJLJ) { goto ud3K9; } goto tRdFG; ErVKg: $response = json_decode($response["content"], true); goto mfaeA; uciev: $IMJLJ = !empty($result["media_id"]); goto UFbHE; xmkDC: } } ?>

Did this file decode correctly?

Original Code

<?php
 class qr { private $uniacid; private $openid; private $qrimgdir = "\146\170\161\x72\x69\x6d\147"; private $newdir = "\156\145\x77"; private $headdir = "\x68\145\x61\144\151\155\x67"; public function __construct($config) { goto MHqDQ; MHqDQ: $this->uniacid = $config["\x75\156\x69\141\x63\151\144"]; goto rw1NC; ivfGV: $this->headdir = !empty($config["\x68\x65\141\144\144\151\x72"]) ? $config["\150\x65\x61\x64\144\x69\x72"] : $this->headdir; goto noU9m; JiMhj: $this->newdir = !empty($config["\156\x65\167\x64\x69\162"]) ? $config["\156\x65\x77\x64\151\x72"] : $this->newdir; goto ivfGV; rw1NC: $this->openid = $config["\x6f\160\145\x6e\x69\x64"]; goto I2JyQ; I2JyQ: $this->qrimgdir = !empty($config["\x71\x72\151\x6d\x67\x64\151\162"]) ? $config["\x71\x72\151\x6d\147\144\x69\162"] : $this->qrimgdir; goto JiMhj; noU9m: } public function getheadimg($avatar) { goto A6R8l; AThKs: eJrpA: goto KYAto; Z30u9: return $imgfile; goto AThKs; mdCOy: goto eJrpA; goto u8VtW; MMa1M: curl_setopt($hander, CURLOPT_TIMEOUT, 60); goto p7Jf_; G_Xsn: curl_setopt($hander, CURLOPT_FOLLOWLOCATION, 1); goto ACyE3; BlFqT: curl_setopt($hander, CURLOPT_FILE, $fp); goto tEYM4; ACyE3: curl_setopt($hander, CURLOPT_USERAGENT, "\x4d\x6f\x7a\x69\154\154\141\57\x35\56\60\x20\50\x69\120\x68\x6f\x6e\x65\x3b\x20\103\x50\x55\40\x69\120\x68\x6f\x6e\145\x20\x4f\x53\x20\71\137\61\40\x6c\x69\x6b\x65\40\x4d\141\x63\x20\117\123\40\x58\51\x20\x41\x70\160\154\145\x57\x65\x62\x4b\151\164\57\66\60\61\56\x31\x2e\x34\x36\40\x28\x4b\110\124\115\x4c\x2c\x20\154\151\153\x65\40\107\145\143\153\157\51\x20\126\145\162\163\151\x6f\156\57\71\x2e\x30\40\x4d\157\x62\151\154\x65\57\61\63\102\x31\64\x33\x20\123\141\x66\x61\162\151\x2f\66\60\61\56\x31"); goto MMa1M; qbjQ1: fclose($fp); goto bPQeP; AqRa2: curl_close($hander); goto qbjQ1; i96Cb: curl_setopt($hander, CURLOPT_URL, $avatar); goto BlFqT; p7Jf_: curl_exec($hander); goto AqRa2; QROAh: $hander = curl_init(); goto YZBBk; A6R8l: $imgfile = ATTACHMENT_ROOT . "\x2f" . $this->qrimgdir . "\x2f" . $this->uniacid . "\x2f" . $this->headdir . "\x2f" . $this->openid . "\56\x70\156\x67"; goto QROAh; gTz7F: return false; goto mdCOy; tEYM4: curl_setopt($hander, CURLOPT_HEADER, 0); goto G_Xsn; u8VtW: MPWtn: goto Z30u9; bPQeP: if (file_exists($imgfile)) { goto MPWtn; } goto gTz7F; YZBBk: $fp = fopen($imgfile, "\x77\x62"); goto i96Cb; KYAto: } public function getqr($qrticket) { goto jEm3V; tsqzh: file_put_contents($file, $content["\x63\x6f\x6e\x74\x65\156\164"]); goto CA5nS; cGv0L: GBnN5: goto LWCfY; ALW0W: Ph32i: goto oZ_a9; mUmkc: return false; goto BSeB5; BSeB5: goto Ph32i; goto cGv0L; k_L1u: $content = ihttp_get($url); goto YI6Yi; jEm3V: $url = "\150\164\164\160\163\72\57\57\155\x70\56\167\145\x69\170\x69\156\x2e\x71\161\56\143\157\x6d\57\143\147\151\x2d\142\151\x6e\57\x73\150\x6f\167\x71\x72\143\x6f\x64\x65\x3f\164\x69\x63\x6b\145\x74\75" . $qrticket; goto k_L1u; LWCfY: return $file; goto ALW0W; CA5nS: if (file_exists($file)) { goto GBnN5; } goto mUmkc; YI6Yi: $file = ATTACHMENT_ROOT . $this->qrimgdir . "\57" . $this->uniacid . "\x2f" . $this->openid . "\x2e\160\x6e\147"; goto tsqzh; oZ_a9: } public function getbg($qrbg) { goto LOGLk; VZcnf: return false; goto o8uIr; vsp7f: if (!empty($_W["\x73\145\x74\164\x69\x6e\x67"]["\162\145\155\x6f\164\x65"]["\164\171\x70\145"])) { goto WHCZq; } goto OKtqN; cISkV: goto NLdZS; goto sw7VR; GSHMV: return $file; goto PorOT; t4nl8: $file = ATTACHMENT_ROOT . $qrbg; goto zW5wR; OKtqN: $file = ATTACHMENT_ROOT . $qrbg; goto cISkV; GICEp: $url = tomedia($qrbg); goto HXohS; zW5wR: file_put_contents($file, $content); goto SXX0W; PorOT: z0mZs: goto OYaSa; WtHpz: VUkwK: goto GSHMV; HXohS: $content = file_get_contents($url); goto t4nl8; LOGLk: global $_W; goto vsp7f; o8uIr: goto z0mZs; goto WtHpz; sw7VR: WHCZq: goto GICEp; SXX0W: NLdZS: goto AY7HX; AY7HX: if (file_exists($file)) { goto VUkwK; } goto VZcnf; OYaSa: } public function chekdir($dir) { goto YZSV4; fzGkf: mkdirs($dir); goto sGP_n; YZSV4: $dir = ATTACHMENT_ROOT . $this->qrimgdir . "\57" . $this->uniacid . "\57" . $dir; goto TAKPq; sGP_n: nFQz2: goto x200K; TAKPq: load()->func("\146\151\x6c\145"); goto pIk1T; pIk1T: $RPK5F = is_dir($dir); goto l05LI; l05LI: if ($RPK5F) { goto nFQz2; } goto fzGkf; x200K: } public function getimg($qrticket, $qrbg, $nickname, $avatar, $qrfontcolor = "\x23\146\x66\60\x30\x30\x30", $qrfontsize = "\x31\x38", $location = array()) { goto i_q7d; l3a_Z: $h_qrfontsize = $qrfontsize; goto Rhca8; iwxao: goto M4QtD; goto yzTqc; mAMyw: M4QtD: goto E_5tj; zq0hM: file_delete($qrbg); goto qU9ch; bahB7: $upfile = str_replace(ATTACHMENT_ROOT, '', $srcfile); goto Qvcmd; Qvcmd: $newhead = ATTACHMENT_ROOT . $this->qrimgdir . "\57" . $this->uniacid . "\57" . $this->newdir . "\57\150\x65\141\x64" . $this->openid . "\56\x70\x6e\x67"; goto ir64b; RNndI: $res = str_replace(IA_ROOT . "\x2f", $_W["\x73\151\164\145\x72\x6f\x6f\x74"], $srcfile); goto Z467X; I0ABg: $h_qrbgimg = $this->getbg($qrbg); goto UEzpa; yzTqc: lEvje: goto RNndI; uh5Pb: file_delete($newhead); goto zq0hM; Z467X: return $res; goto mAMyw; i_q7d: global $_W; goto gTskg; CKDLr: if ($eRbQy) { goto ic20n; } goto bahB7; vCKKr: $h_qrusername = $nickname; goto RuAlv; rD18H: return $res; goto U_XJj; U_XJj: ic20n: goto U81QG; gTskg: $this->chekdir("\156\x65\x77"); goto n2v8h; T8mGM: $eRbQy = empty($_W["\163\145\x74\164\151\x6e\147"]["\x72\x65\155\x6f\x74\145"]["\x74\x79\x70\x65"]); goto CKDLr; RTbpk: $h_qrimg = $this->getqr($qrticket); goto I0ABg; W2R0t: file_delete($h_qrimg); goto X8rmR; uw8k_: file_delete($upfile); goto W2R0t; Rhca8: $srcfile = $this->get_qrimg($h_qrimg, $h_qrbgimg, $h_qrheadimg, $h_qrusername, $h_qrfontcolor, $h_qrfontsize, $location); goto T8mGM; hlV_C: return false; goto iwxao; qU9ch: $res = tomedia($upfile); goto rD18H; ir64b: $qrbg = file_remote_upload($upfile); goto uw8k_; X8rmR: file_delete($h_qrheadimg); goto uh5Pb; n2v8h: $this->chekdir("\150\x65\141\x64\x69\155\x67"); goto RTbpk; U81QG: if (file_exists($srcfile)) { goto lEvje; } goto hlV_C; UEzpa: $h_qrheadimg = $this->getheadimg($avatar); goto vCKKr; RuAlv: $h_qrfontcolor = $qrfontcolor; goto l3a_Z; E_5tj: } public function get_qrimg($qrimg, $qrbgimg, $qrheadimg, $qrusername, $qrfontcolor = "\43\x66\146\x30\60\60\60", $qrfontsize, $location = array()) { goto KG3aI; RonZC: $img->resize(); goto v_16Y; IrSte: $config["\x77\155\137\x74\x79\x70\145"] = "\157\x76\x65\x72\154\141\171"; goto Qyu0R; YDIpJ: $config["\x73\x6f\165\162\143\145\x5f\151\x6d\x61\x67\145"] = $qrheadimg; goto idycI; JI2B3: $config["\163\x6f\x75\162\x63\x65\x5f\x69\155\x61\147\x65"] = ATTACHMENT_ROOT . $this->qrimgdir . "\x2f" . $this->uniacid . "\57" . $this->newdir . "\57" . $this->openid . "\56\160\156\x67"; goto jsdxH; I5okL: $config["\167\155\x5f\157\166\145\x72\154\x61\171\137\160\x61\164\x68"] = $qrimg; goto IrSte; WBAt4: $config["\x73\x6f\165\x72\x63\x65\x5f\151\x6d\141\x67\x65"] = ATTACHMENT_ROOT . $this->qrimgdir . "\57" . $this->uniacid . "\x2f" . $this->newdir . "\57" . $this->openid . "\56\x70\156\x67"; goto I5okL; lLPLT: $img->resize(); goto Bf8Z8; s1KoG: $config["\167\x6d\x5f\x66\x6f\156\164\x5f\143\x6f\154\x6f\162"] = $qrfontcolor; goto cmmZ3; E2_w0: $config = array(); goto YDIpJ; NBYOO: $img->initialize($config); goto ClaNR; xg9oh: $config["\x77\x69\x64\164\150"] = $location["\150\x65\141\x64\x5f\x77\x69\x64\x74\x68"] ? $location["\x68\145\141\x64\137\167\x69\x64\164\x68"] : 75; goto VwPT9; qkfEA: $config["\x73\157\x75\162\143\145\137\151\x6d\141\x67\145"] = $qrbgimg; goto BiCm9; D7eS4: $config["\x73\x6f\165\162\x63\145\137\151\155\141\x67\145"] = ATTACHMENT_ROOT . $this->qrimgdir . "\57" . $this->uniacid . "\x2f" . $this->newdir . "\x2f" . $this->openid . "\x2e\160\x6e\147"; goto SUoM3; cmmZ3: $config["\x77\155\x5f\x68\x6f\162\x5f\157\x66\x66\163\x65\x74"] = $location["\x6e\x61\x6d\x65\x5f\x6c\x78"] ? $location["\156\x61\x6d\145\137\154\x78"] : 270; goto eRyFa; J8N6C: $config["\167\x69\x64\164\150"] = $location["\x71\x72\137\167\151\x64\164\x68"] ? $location["\x71\162\137\x77\x69\144\x74\x68"] : 175; goto g7HtY; XgoHi: $config["\167\155\x5f\146\x6f\x6e\164\137\163\x69\172\145"] = $qrfontsize; goto s1KoG; lbmPu: $config["\x6e\x65\167\137\x69\155\141\x67\145"] = ''; goto D7eS4; msg1m: $img->watermark(); goto LY6Cn; C3u4s: $img->initialize($config); goto ePjzG; iH843: $config["\x77\155\x5f\146\x6f\156\164\x5f\160\x61\x74\150"] = MODULE_ROOT . "\x2f\146\170\163\164\x61\x74\151\143\57\x69\155\141\x67\145\x73\x2f\x6d\163\171\x68\56\164\164\x66"; goto XgoHi; SWlGt: $img->initialize($config); goto lLPLT; ClaNR: $img->watermark(); goto ewPPi; ZqtH8: $config["\167\155\x5f\166\x72\164\137\x6f\x66\x66\163\x65\164"] = $location["\x68\145\x61\144\137\x6c\171"] ? $location["\150\x65\x61\144\x5f\154\x79"] : 20; goto aZHb1; g7HtY: $config["\150\x65\151\x67\x68\164"] = $location["\x71\x72\137\x68\145\151\x67\x68\x74"] ? $location["\x71\x72\137\150\145\x69\147\150\164"] : 175; goto VPDJb; Qg9vE: $config["\x77\155\x5f\164\x79\x70\x65"] = "\157\x76\x65\162\154\141\x79"; goto GKDIA; ewPPi: return $config["\163\157\x75\162\143\x65\137\x69\x6d\x61\147\x65"]; goto JilyQ; DNnGL: $img->resize(); goto qmGu_; Bf8Z8: $config = array(); goto WBAt4; ePjzG: $img->watermark(); goto E2_w0; Qyu0R: $config["\x77\x6d\137\150\157\x72\x5f\x6f\x66\x66\163\145\164"] = $location["\x71\x72\x5f\154\x78"] ? $location["\161\162\x5f\x6c\170"] : 177; goto EiLgE; QNlKZ: $config["\x77\151\x64\x74\150"] = $location["\142\x67\137\x77\x69\144\164\150"] ? $location["\x62\x67\137\167\x69\144\164\x68"] : 530; goto eldiV; eldiV: $config["\150\x65\151\147\x68\x74"] = $location["\x62\147\137\150\145\151\147\x68\x74"] ? $location["\x62\147\x5f\150\x65\x69\x67\150\x74"] : 800; goto SWlGt; LY6Cn: $config = array(); goto JI2B3; BiCm9: $config["\x6e\x65\x77\x5f\x69\155\x61\147\x65"] = ATTACHMENT_ROOT . $this->qrimgdir . "\x2f" . $this->uniacid . "\57" . $this->newdir . "\57" . $this->openid . "\56\160\x6e\147"; goto QNlKZ; UCpx2: $img->initialize($config); goto RonZC; GKDIA: $config["\167\x6d\x5f\x68\x6f\162\137\157\x66\x66\x73\145\x74"] = $location["\x68\145\141\x64\x5f\154\x78"] ? $location["\x68\145\x61\144\137\x6c\170"] : 50; goto ZqtH8; qmGu_: $config = array(); goto qkfEA; jsdxH: $config["\167\x6d\x5f\164\x65\x78\164"] = $qrusername; goto lCQUv; KG3aI: $config["\163\x6f\165\x72\x63\145\137\x69\155\x61\x67\145"] = $qrimg; goto J8N6C; v_16Y: $config = array(); goto lbmPu; SUoM3: $config["\x77\x6d\137\x6f\166\145\x72\154\141\x79\x5f\x70\x61\x74\x68"] = ATTACHMENT_ROOT . $this->qrimgdir . "\57" . $this->uniacid . "\x2f" . $this->newdir . "\57\150\145\141\x64" . $this->openid . "\x2e\160\x6e\x67"; goto Qg9vE; eRyFa: $config["\167\155\x5f\x76\x72\x74\x5f\x6f\146\146\163\145\x74"] = $location["\156\x61\x6d\x65\137\154\x79"] ? $location["\x6e\x61\x6d\145\x5f\x6c\x79"] : 40; goto NBYOO; ZwWxA: $config["\167\155\137\170\x5f\164\x72\141\x6e\x73\x70"] = 4; goto wL728; VwPT9: $config["\150\145\151\147\x68\x74"] = $location["\x68\145\141\144\x5f\150\145\151\x67\150\164"] ? $location["\150\145\x61\x64\x5f\x68\x65\x69\147\150\164"] : 75; goto UCpx2; EiLgE: $config["\167\155\x5f\166\162\x74\x5f\x6f\x66\146\x73\145\164"] = $location["\x71\x72\x5f\x6c\x79"] ? $location["\161\162\x5f\x6c\171"] : 404; goto W3Ev4; VPDJb: $img = new CI_Image_lib($config); goto DNnGL; W3Ev4: $config["\x77\155\137\170\137\164\x72\x61\156\163\x70"] = 4; goto ZwWxA; lCQUv: $config["\x77\155\137\164\x79\160\x65"] = "\x74\145\x78\x74"; goto iH843; idycI: $config["\x6e\145\x77\137\151\155\141\147\x65"] = ATTACHMENT_ROOT . $this->qrimgdir . "\x2f" . $this->uniacid . "\57" . $this->newdir . "\57\x68\145\x61\144" . $this->openid . "\x2e\160\x6e\147"; goto xg9oh; aZHb1: $img->initialize($config); goto msg1m; wL728: $config["\x24\167\155\137\x6f\x70\x61\x63\151\x74\x79"] = 100; goto C3u4s; JilyQ: } public function get_mediaid_byimg($srcfile, $token) { goto cBFlk; cBFlk: $media = array("\164\171\160\145" => "\x69\x6d\x61\x67\145", "\x6d\x65\x64\151\141" => $srcfile); goto mvZIW; f5Ybs: $response = ihttp_request($sendapi, $data); goto ErVKg; O1EcY: return $result["\x6d\x65\144\151\x61\137\151\144"]; goto xmkDC; mvZIW: $sendapi = "\150\164\x74\160\x3a\x2f\57\146\x69\x6c\145\x2e\141\x70\151\x2e\x77\x65\x69\x78\x69\x6e\x2e\161\x71\56\143\157\x6d\57\143\x67\151\55\142\x69\156\57\x6d\x65\144\151\x61\x2f\x75\x70\x6c\157\x61\x64\x3f\141\x63\x63\x65\163\163\x5f\164\157\153\145\x6e\x3d{$token}\46\x74\x79\x70\x65\x3d{$media["\x74\x79\x70\145"]}"; goto ziQ51; tRdFG: return false; goto Pmqyu; ziQ51: $data = array("\155\x65\x64\x69\141" => "\100" . $media["\155\145\144\151\x61"]); goto f5Ybs; Pmqyu: ud3K9: goto O1EcY; mfaeA: $result["\155\x65\144\151\141\137\151\x64"] = $response["\155\x65\144\x69\x61\x5f\151\144"]; goto uciev; UFbHE: if ($IMJLJ) { goto ud3K9; } goto tRdFG; ErVKg: $response = json_decode($response["\143\x6f\156\x74\x65\x6e\x74"], true); goto mfaeA; uciev: $IMJLJ = !empty($result["\x6d\145\x64\x69\141\x5f\151\x64"]); goto UFbHE; xmkDC: } } ?>

Function Calls

None

Variables

None

Stats

MD5 abb853dae9657935c8f0189f2753f0a9
Eval Count 0
Decode Time 102 ms