预定义数组:
自动全局变量---超全局数组
1.包含了来自web服务器,客户端,运行环境和用户输入的数据
2.这些数组比较特别
3.全局范围内自动生效,都可以直接使用这些数组
4.用户不能自定义这些数组
5.在函数中可以直接使用这些数组
$_GET //经由URL请求提交至脚本的变量
$_POST //经由HTTP POST 方法提交脚本的变量
$_REQUEST //经由get,post和cookie机制提交到脚本的变量,因此该数组并不值得我们信任和使用,尽量不去使用
$_FILES //经由http post 文件上传而提交至脚本,文件上传
$_COOKIE //会话控制
$_SESSION //会话控制
$_ENV //执行环境提交至脚本
$GLOBALS //只要是当前脚本有效的变量全在这里 ,数组键名为全局变量的名称
$_SERVER //变量有由web服务器设定或直接和当前脚本执行环境关联

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version
Recommended: Win version, supports code prompts!

Atom editor mac version download
The most popular open source editor

Notepad++7.3.1
Easy-to-use and free code editor

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.
