string _GET ( string $str )
_GET() finds the query string from the URL request initiated by HTTP GET method Information sent from a form with the GET method is visible to everybody because it will be displayed in the browser’s address window and has limits on the amount of information to send
※ available F/W version : all
If the value for the key string is found, returns a value string corresponding to the key string. It returns an empty string if it is not found. Otherwise PHP error.
<?php
// test.php
$str_get = "";
$str_get = _GET("name");
if((bool)$str_get)
{
echo "get data: $str_get";
return;
}
?>
<html>
<form name = "submit_button" action = "test.php" method = "GET">
<input type = "text" name = "name">
<input type = "submit" value="Press GET" name="submit_button">
</form>
</html>
This function is implemented for same operation to the predefined variable $_GET of the PHP Group’s PHP.