当前位置: 首页>>代码示例>>PHP>>正文


PHP Encrypt::initialise方法代码示例

本文整理汇总了PHP中Encrypt::initialise方法的典型用法代码示例。如果您正苦于以下问题:PHP Encrypt::initialise方法的具体用法?PHP Encrypt::initialise怎么用?PHP Encrypt::initialise使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Encrypt的用法示例。


在下文中一共展示了Encrypt::initialise方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: explode

    exit;
}
//$msg = '115.195.37.91	-	[06/Jul/2016:10:06:18 +0800]	"GET /t?u=IuIsPaJNZ%2BlSmYWQs7MWwAtc%2FkimWE4jIrzyYEDVvx3f5c4SGObmfYZkTesRivo4wxbM3qQUQe7MAa611F9EjRxF5a9YGfE%2F1ZP6cecYH9isKF6zIjC%2B1SVtF2NJRy0t1aFhhjS86tMArASwEE9tqQL7nR6byKENhmhHyuMbH3IYXLCG1XpD3I8wE2BZndoH%2BQEfaem%2FTYLILuFafzQZyNWBgAhBhcBqTdefprwy3MrqwmOFujjIOFo302bzUor6UvpPuozkSesSUDNv1XGBxzB46kCZBUqEloTTaRlIVvjRRd%2BoB4qA70aAevycyGx%2BNBu44nC7LhxXSM9rRp6r5vKFSlcwFrJHgPH%2BD%2FvxUqgf%2FeOG3079M4OEJYrF8fg7OBGlNGA161Y8WjRl2nDBYLO59Bkh%2FnkvlZz3FDVHjC8JeUWPZOixth5zngJgmfAf8a4dPtmtd1KhWNONpRf6pS9aCvB5pcrnPyesgm3cS25obo0EesowziRNYxHQheaI&ktt=cnb_1467769281861_flag HTTP/1.1"	302	5	"http://cpro.9xu.com/tjs?tu=http%3A%2F%2Fcpro.9xu.com%2Ft%3Fu%3DIuIsPaJNZ%252BlSmYWQs7MWwAtc%252FkimWE4jIrzyYEDVvx3f5c4SGObmfYZkTesRivo4wxbM3qQUQe7MAa611F9EjRxF5a9YGfE%252F1ZP6cecYH9isKF6zIjC%252B1SVtF2NJRy0t1aFhhjS86tMArASwEE9tqQL7nR6byKENhmhHyuMbH3IYXLCG1XpD3I8wE2BZndoH%252BQEfaem%252FTYLILuFafzQZyNWBgAhBhcBqTdefprwy3MrqwmOFujjIOFo302bzUor6UvpPuozkSesSUDNv1XGBxzB46kCZBUqEloTTaRlIVvjRRd%252BoB4qA70aAevycyGx%252BNBu44nC7LhxXSM9rRp6r5vKFSlcwFrJHgPH%252BD%252FvxUqgf%252FeOG3079M4OEJYrF8fg7OBGlNGA161Y8WjRl2nDBYLO59Bkh%252FnkvlZz3FDVHjC8JeUWPZOixth5zngJgmfAf8a4dPtmtd1KhWNONpRf6pS9aCvB5pcrnPyesgm3cS25obo0EesowziRNYxHQheaI&t=1467770729"	"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36"	-	CNZZDATA1256979552=1778728267-1460615251-%7C1460615251; CNZZDATA1258855680=1103945022-1461821395-%7C1463550630; Hm_lvt_1941919deb79f5279264250ca58002d5=1462242611,1463398694,1463548938,1464068026; Hm_lvt_c81476f1761060d378609277ea07b570=1462242612,1463398695,1463548938,1464068026; CNZZDATA1257915830=317006853-1461232279-%7C1464247532; CNZZDATA1259003728=1151216506-1462518438-%7C1464843678; CNZZDATA1257360444=495175581-1460613525-%7C1466744435; _ga=GA1.2.1809719460.1466748101; OUTFOX_SEARCH_USER_ID_NCOO=1685763349.064891; cnb_1467769281861_flag=7dec2e2169de9673dfe92efd0e3dd8a8; CNZZDATA1254772867=1198470891-1461128993-%7C1467769552; dt_uid=577229c16adc0fec538b4567; dt_cox=aaaaaaaaaaa; dt_uptime=1467770728; dt_area=nil; CNZZDATA5948225=cnzz_eid%3D372871705-1460612110-http%253A%252F%252Fcpro.9xu.com%252F%26ntime%3D1467766163; CNZZDATA1258321956=1384707831-1460610356-http%253A%252F%252Fcpro.9xu.com%252F%7C1467767048';
$info = explode("\t", $msg);
if (count($info) < 3) {
    echo "1";
    exit;
}
$u = explode(" ", $info[3])[1];
$pu = fn_parse_url($u);
var_dump($u);
if (!isset($pu['u'])) {
    echo "";
    exit;
}
$msg = Encrypt::initialise()->decode(urldecode($pu['u']), "&^*84558&#1534#\$!");
if (!$msg) {
    echo "3";
    exit;
}
$pmsg = fn_parse_url($msg);
//echo json_encode($pmsg);
//exit;
$cox = "";
if (isset($pmsg["cox"]) && !empty($pmsg["cox"])) {
    $cox = $pmsg["cox"];
}
if (isset($pmsg["js_cox"]) && !empty($pmsg["js_cox"])) {
    $cox = $pmsg["js_cox"];
}
if (isset($pmsg["js2_cox"]) && !empty($pmsg["js2_cox"])) {
开发者ID:qgweb,项目名称:new,代码行数:31,代码来源:a.php


注:本文中的Encrypt::initialise方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。