discuz这段代码怎么理解

WBOY
Release: 2016-06-13 12:10:35
Original
882 people have browsed it

discuz这段代码如何理解
这段代码的作用是为了啥
if (isset($_REQUEST['GLOBALS']) OR isset($_FILES['GLOBALS'])) {
exit('Request tainting attempted.');
}
------解决思路----------------------

$x = 123;<br />$a = array('x' => 'abc');<br />extract($a);<br />echo $x;
Copy after login
abc
$a 被改变了

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