Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions PHP/Google API/reCAPTCHA/Google_reCAPTCHA.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
<script src='https://www.google.com/recaptcha/api.js'></script>
</head>
<body>
<h1> Integrating Google reCAPTCHA Demo </h1>

<h1> Invisible reCAPTCHA Demo </h1>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not visible?

<script src='https://www.google.com/recaptcha/api.js'></script>
<form action="" method="post">
Name : <input type="text" name="name"><br>
City : <input type="text" name="city"><br><br>
<div class="g-recaptcha" data-sitekey="***** YOUR SITE KEY goes here *****"></div>
6Lft_GEUAAAAAKrzxlBk6uzOURlGqCWxaZiJ2a0T
<input type="submit" name="submit" value="submit">

</form>
Expand All @@ -29,7 +29,7 @@
function CheckCaptcha($userResponse) {
$fields_string = '';
$fields = array(
'secret' => '****** YOUR SECRET KEY goes here ******',
'secret' => 6Ldi_mEUAAAAAN_Y2qpGDWLI4oVuF0llXOf6NzCr
'response' => $userResponse
);
foreach($fields as $key=>$value)
Expand Down