Skip to content

Instantly share code, notes, and snippets.

@Bucephalus-lgtm
Last active January 19, 2023 17:14
Show Gist options
  • Save Bucephalus-lgtm/ab6d68c6dcaea2397a92e1ce35c9bb53 to your computer and use it in GitHub Desktop.
Save Bucephalus-lgtm/ab6d68c6dcaea2397a92e1ce35c9bb53 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Google reCaptcha Example</title>
<meta charset="utf-8″>
<meta name="viewport" content="width=device-width, initial-scale=1″>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<div class="container">
<?php
if (!empty($htmlContent)) {
echo $htmlContent;
} else {
echo "";
}
?>
<h2>SIGNUP FORM - developed by BHARGAB NATH</h2>
<form action="" method="post">
<div class="form-group">
<label for="email">Email:</label>
<input type="email" class="form-control" id="email" placeholder="Enter email" name="email">
</div>
<div class="form-group">
<label for="pwd">Password:</label>
<input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd">
</div>
<div class="g-recaptcha" data-sitekey="__your_datasite_key__"></div>
<input type="submit" class="btn btn-default" id="submit" name="submit" value="Submit" />
</form>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment