string _POST ( string $str )
_POST() finds the query string from the HTTP POST method
※ 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_post = "";
$str_post = _POST("name");
if((bool)$str_post)
{
echo "posted data: $str_post";
return;
}
?>
<html>
<form name = "submit_button" action = "test.php" method = "POST">
<input type = "text" name = "name">
<input type = "submit" value="Press POST" name="submit_button">
</form>
</html>
This function is implemented for same operation to the predefined variable $_POST of the PHP Group’s PHP.