Extract variables submitted by the page and browser

WBOY
Release: 2016-07-25 09:10:11
Original
916 people have browsed it
Extract variables submitted by the page and browser, which is equivalent to opening global variables in PHP.INI
  1. //Extract variables submitted by the page and browser, which is equivalent to opening global variables in PHP.INI //OSPHP.com.CN
  2. @extract($_SERVER, EXTR_SKIP);
  3. @extract ($_SESSION, EXTR_SKIP);
  4. @extract($_POST, EXTR_SKIP);
  5. @extract($_FILES, EXTR_SKIP); //Open source OSPhP.COM.CN
  6. @extract($_GET, EXTR_SKIP);
  7. @extract($ _ENV, EXTR_SKIP);
  8. ?>
Copy code


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