Home
PHP
HTML
Laravel
Tools
About Us
Contact Us
Superglobal variable in PHP
PHP
PHP
Editor
Getting started PHP
Introduction
of PHP
What
Can
PHP Do?
Features
PHP
Install
PHP
Basic PHP
PHP
Syntax
Example
of PHP
Give a
comments
in PHP
PHP
echo
and
print
Statements
PHP Tutorial
Variables
in PHP
PHP
Data Types
PHP
String functions
PHP
Math functions
PHP
Operator
PHP
Constant
PHP condition
PHP
Conditional Statements
PHP
if
PHP
if....else
PHP
if...elseif...else
PHP
Switch
PHP Loops
PHP
For Loop
PHP
Foreach Loop
PHP
while Loop
PHP
do while Loop
PHP
Break
and
Continue
PHP Array
PHP
Arrays
Indexed
array
Associative
array
Multidimensional
array
PHP
Array Functions
PHP functions
PHP
functions
PHP
include
and
require
stmt.
PHP
include
statement
PHP
require
statement
PHP
Date and Time
PHP superglobals
PHP
Superglobals
PHP Superglobals
$GLOBALS
PHP Superglobals
$_SERVER
PHP Superglobals
$_REQUEST
PHP Superglobals
$_GET
PHP Superglobals
$_POST
PHP Work with Database
Introduction of
MySQL Database
Connect
to Database
Create
MySQL Database
Create
MySQL Table
PHP Query
Insert
Data into Database
Insert
Multiple record in DB
Select
Data
Where
clause
Order
by clause
Delete
Data
Update
Data
PHP Superglobals
Superglobals are built-in variables that are always available in all scopes
Some predefined variables in PHP are "superglobals", which means they are available in all script.
There is no need to do global $variable; to access them within functions.
In PHP list of superglobal variables are given below.
$GLOBALS
$_SERVER
$_REQUEST
$_GET
$_POST
$_FILES
$_COOKIE
$_SESSION
$_ENV
Related Posts :
Previous
PHP Date and Time
Print
Next
PHP Superglobals $GLOBALS