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

下面这句代码错哪了

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:32:331190browse

下面这句代码哪里错了

$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);


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

Statement:
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