michaelp0730
1/19/2015 - 6:39 PM

PHP Globals

// globals
$GLOBALS['variable'] = something;

// cookie
$_COOKIE['variable']

// env
$_ENV['variable']

// files
$_FILES['variable']

// get
$_GET['variable']

// post
$_POST['variable']

// request
$_REQUEST['variable']

// server
$_SERVER['variable']

// session
$_SESSION['variable']