Home > Backend Development > PHP Tutorial > 下面这句代码错哪了

下面这句代码错哪了

WBOY
Release: 2016-06-13 12:32:33
Original
1172 people have browsed it

下面这句代码哪里错了

$aid = 11387;<br />
$_G['uid'] = 332;<br />
$tid =50;<br />
function aidencode($aid, $type = 0, $tid = 0) {<br />
	$s = !$type ? $aid.'|'.substr(md5($aid.md5('asdfasfas'.TIMESTAMP.$_G['uid']), 0, 8).'|'.TIMESTAMP.'|'.$_G['uid'].'|'.$tid : $aid.'|'.md5($aid.md5<br />
<br />
('asdfasfas').TIMESTAMP).'|'.TIMESTAMP;<br />
	return rawurlencode(base64_encode($s));<br />
}<br />
<br />
<br />
echo aidencode(11387);
Copy after login


麻烦知道的大哥直接给完整代码谢谢了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template