I'm doing a small example to identify when a page is reloaded for the second time, use php v5.7.14
PHP:
<?php
if ($_SERVER['REQUEST_METHOD'] == 'POST')
{
echo "primera vez";
}
else
{
echo "mas de primera";
}?>
HTML:
<html>
<head>
<meta charset="UTF-8">
<title>ReCaptcha Demo</title>
</head>
<body>
<form class="register" action="<?php echo $PHP_SELF;?>" method="post">
<input type="text" name="Nombre" required="required" />
</form>
</body>
Throw the following ERROR: