Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP import_request_variables() Function

PHP import_request_variables() Function

PHP Available FunctionsAvailable PHP Functions

import_request_variables() The function imports GET/POST/Cookie variables into the global scope.This function is no longer supported in the latest versions of PHP.

import_request_variables() The function imports GET/POST/Cookie variables into the global scope. If you have disabled register_globals but still want to use some global variables, this function is useful.

Version requirement: PHP 4 >= 4.1.0, PHP 5 < 5.4.0

Syntax


bool import_request_variables ( string $types [, string $prefix ] )

Parameter Description:

Return Value

none.

Example

Example

PHP Available FunctionsAvailable PHP Functions