Home > Backend Development > PHP Tutorial > session-关于PHP唯一表示符的问题。不懂,求讲解

session-关于PHP唯一表示符的问题。不懂,求讲解

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-02 11:32:17
Original
999 people have browsed it

sessionphp表单

$_SESSION['uniqid']=$_uniqid=sha1(uniqid(rand(),true));这个$_SESSION['uniqid']和$_uniqid这个不是必然相等吗。。为什么我看到他是判断$_SESSION['uniqid']和$_uniqid的值是不是一样的来判断是否是正常注册。

$_uniqid是表单中隐藏域的值

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