Home > PHP > Function > Variable handling > import_request_variables()

import_request_variables()

import_request_variables - Import GET/POST/Cookie variables into the global scope

Syntax

bool import_request_variables ()

Arguments

-

Description

Imports GET/POST/Cookie variables into the global scope. It is useful if you disabled register_globals, but would like to see some variables in the global scope.

Version

PHP 4.1.0, 5

Return value

Returns TRUE on success or FALSE on failure.