⚙️
PHP Tools Hub
Tools
PHP
Quick
Contact
Home
>
Tutorials
>
PHP
>
PHP Superglobals
PHP Superglobals Tutorials
46 tutorials found.
📘
All Global Variables
$GLOBALS | Definition | PHP
📘
Environment Variables
$_ENV | Definition | PHP
📘
GET POST COOKIE Combined
$_REQUEST | Definition | PHP
📘
Hidden from URL
$_POST vs GET | POST for Sensitive Data | PHP
📘
HTTP Cookies Array
$_COOKIE | Definition | PHP
📘
HTTP GET Parameters
$_GET | Definition | PHP
📘
HTTP POST Parameters
$_POST | Definition | PHP
📘
Server Environment Variables
$_SERVER | Definition | PHP
📘
Session Variables Array
$_SESSION | Definition | PHP
📘
Uploaded Files Array
$_FILES | Definition | PHP
📘
Access Anywhere
$GLOBALS | Usage | PHP
📘
Access System Environment
$_ENV | Usage | PHP
📘
Browser Information
$_SERVER | HTTP_USER_AGENT | PHP
📘
Original File Name
$_FILES | name | PHP
📘
Request Data Any Method
$_REQUEST | Usage | PHP
📘
Retrieve Cookie Values
$_COOKIE | Usage | PHP
📘
Retrieve Form Data
$_POST | Usage | PHP
📘
Retrieve Query String
$_GET | Usage | PHP
📘
Store User Data
$_SESSION | Usage | PHP
📘
Visible in URL
$_POST vs GET | GET for Search | PHP
📘
Client IP Address
$_SERVER | REMOTE_ADDR | PHP
📘
File MIME Type
$_FILES | type | PHP
📘
Get name from URL
$_GET | Example | PHP
📘
Get user preference
$_COOKIE | Example | PHP
📘
Get username from form
$_POST | Example | PHP
📘
GLOBALS var name
$GLOBALS | Example | PHP
📘
Prefer Specific Variables
$_REQUEST | Caution | PHP
📘
Store user ID
$_SESSION | Example | PHP
📘
HTTP Method GET POST
$_SERVER | REQUEST_METHOD | PHP
📘
session_start First
$_SESSION | Start Required | PHP
📘
Temporary File Path
$_FILES | tmp_name | PHP
📘
Validate and Sanitize
$_POST | Security | PHP
📘
Validate and Sanitize
$_GET | Security | PHP
📘
Requested URL Path
$_SERVER | REQUEST_URI | PHP
📘
Upload Error Code
$_FILES | error | PHP
📘
File Size Bytes
$_FILES | size | PHP
📘
Query String Part
$_SERVER | QUERY_STRING | PHP
📘
Script Path
$_SERVER | SCRIPT_NAME | PHP
📘
Current Script Filename
$_SERVER | PHP_SELF | PHP
📘
Server Hostname
$_SERVER | SERVER_NAME | PHP
📘
Server IP Address
$_SERVER | SERVER_ADDR | PHP
📘
Server Port Number
$_SERVER | SERVER_PORT | PHP
📘
Previous Page URL
$_SERVER | HTTP_REFERER | PHP
📘
Check if HTTPS Enabled
$_SERVER | HTTPS | PHP
📘
Host Header Value
$_SERVER | HTTP_HOST | PHP
📘
Web Root Directory
$_SERVER | DOCUMENT_ROOT | PHP