The concept of SuperGlobal are introduced in PHP 4.1 Version.
PHP Superglobal variables are the php server array variables which contains the php script global data to access. They are predefined variables.
These superglobal variables contains the data coming from URLs or HTML forms, php sessions, php cookies. These data can be extracted from the global variables $_POST, $_GET, $_SERVER, $_SESSION, $_COOKIES.
PHP Superglobal variables are the php server array variables which contains the php script global data to access. They are predefined variables.
These superglobal variables contains the data coming from URLs or HTML forms, php sessions, php cookies. These data can be extracted from the global variables $_POST, $_GET, $_SERVER, $_SESSION, $_COOKIES.
$_GET :
$_GET is the variable which stores the values that are passed to the php page from an html form with get method.
No comments:
Post a Comment