php 超全局变量$globals:包含一个引用指向每个当前脚本的全局范围内有效的变量,该数组的键标为全局变量的 名称,从 php 3 开始存在 $globals 数组.
$_server:变量由 web 服务器设定或者直接与当前脚本的执行环境相关联,类似于旧数组 $http_server_vars 数组(依然有效,但反对使用).
$_get:经由 http get 方法提交至脚本的变量.
$_post:经由 http post 方法提交至脚本的变量.
$_cookie:经由 http cookies 方法提交至脚本的变量.
$_files:经由 http post 文件上传而提交至脚本的变量.
文件上传表单中要有 enctype="multipart/form-data".
$_env:执行环境提交至脚本的变量.
$_request:经由 get,post 和 cookie 机制提交至脚本的变量,因此该数组并不值得信任,所有包含在该数组中的变量的存在与否以及变量的顺序均按照 php.ini 中的 variables_order 配置指示来定义,该数组没有直接模拟 php 4.1.0 的早期版本,参见 import_request_variables().
注意:自 php 4.3.0 起,$_files 中的文件信息不再存在于 $_request 中。
$_session :当前注册给脚本会话的变量。
教程链接:
随意转载~但请保留教程地址★

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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

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

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver CS6
Visual web development tools