You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ramaboo edited this page Dec 18, 2011
·
3 revisions
Superglobal Functions
Boo contains eight superpglobal functions defined in Boo/functions/superglobal.php.
_server()
_get()
_post()
_files()
_cookie()
_session()
_request()
_env()
Usage
These functions are used to access their respective PHP superglobals. Each accepts a string representing the key withing the superglobal array. If the key is found then the value is returned, otherwise FALSE is returned.
echo _post('name');
// displays value in $_POST['name'];