PHP decryption of Unicode coded characters
[code]\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0036\u0031\u002e\u0031\u0033\u0036\u002e\u0031\u0035\u0032\u002e\u0035\u0035\u002f\u0073\u0061\u006e\u0067\u0075\u006f\u0067\u0061\u006d\u0065\u002f\u0064\u006f\u0077\u006e\u006c\ u006f\u0061\u0064\u002f\u0070\u0061\u0074\u006 3\u0068\u002f\u0073\u0061\u006e\u0039\u0039\u002e\u0039\u002f\u0073\u0061\u006e\u0039\u002d\u0065\u0064\u0069\u0074\u006f\u0072\u002d\u0030\u0039\u002d\u0076\u0031\u002e\u0030\u002e\u0072\u0061\u0072[/code] encrypted string
[code].lt;? Php
function uni_decode ($s) {
p Reg_match_all ('/\.amp;.#91; 0-9.#93; {2,5}), $s, $html_uni;
preg_match_all ('/.#91; \\\%.#93; U); .#91; 1.#93; $i) {
$js.#91;.#93; $js_uni.#91; 1.#93;.#91; $i.#93;
{> > = {} / > Unicode2utf8 ($utf8.#91; $j.#93;), $code);
return $code; //$s; //preg_replace ('/\\\u).
$str.=chr ($c);
else if ($c.Lt; 0x800) {
$str.=chr. $c.gt;.Gt; 6.Amp; 0x3f);
$str.=chr (0x80 $c.Amp; 0x3f);
{} else. / > $str.=chr (0x80 $c.Amp; 0x3f);
}
return $str;
}
//echo uni_decode ($str); / / everyone, I am a lonely soul! This is the test text!
$download=uni_decode ($download);