Comments (7)
Hi Jim. Can you give me the URL where you've installed yourls?
from recaptcha-plugin.
http://jlink.in/ it's behaving a little differently then what I posted but
still not right.
Regards,
Jim Lunsford
Email - [email protected]
Mobile/Text - 812-344-7690
Online - http://jimlunsford.com
http://facebook.com/therealjimlunsford
http://twitter.com/jimlunsford
On Sat, Jan 2, 2016 at 1:32 AM, spbriggs [email protected] wrote:
Hi Jim. Can you give me the URL where you've installed yourls?
—
Reply to this email directly or view it on GitHub
#2 (comment)
.
from recaptcha-plugin.
It looks like your recaptcha is outside of the form element so it's not getting posted back to the server. If you move the closing tag after the spb_recaptcha_add_Captcha_Script(); command, it should work.
from recaptcha-plugin.
I've tried in and out of places inside here:
{
$site = YOURLS_SITE;
// Display the form
echo <<<HTML
<h2>Enter a new URL to shorten</h2>
<form method="post" action="">
<p><label>URL: <input type="text" class="text" name="url" value="http://" /></label></p>
<p><label>Optional custom short URL: $site/<input type="text" class="text" name="keyword" /></label></p>
<p><label>Optional title: <input type="text" class="text" name="title" /></label></p>
<p><input type="submit" class="button primary" value="Shorten" /></p>
</form>
HTML;
}
I can get it to display after HTML; however all I ever get is "Sorry, but you didn't pass the reCaptcha test"
from recaptcha-plugin.
See the sample-public-index.php file. It should be like this:
echo <<<HTML
<h2>Enter a new URL to shorten</h2>
<form method="post" action="">
<p><label>URL: <input type="text" class="text" name="url" value="http://" /></label></p>
<p><label>Optional custom short URL: $site/<input type="text" class="text" name="keyword" /></label></p>
<p><label>Optional title: <input type="text" class="text" name="title" /></label></p>
HTML;
spb_recaptcha_add_Captcha_Script();
echo <<<HTML
<p><input type="submit" class="button primary" value="Shorten" /></p>
</form>
HTML;
It's important to get the echo, <<< and HTML in the right places.
from recaptcha-plugin.
Okay, using your sample index file worked. I am very sorry that I did not try it before and you had to waste your time. If you have a donate link somewhere to where I can give you a few dollars for your time I will gladly do it. Thank you!
from recaptcha-plugin.
No problem Jim. There's a donation link on my personal website if you really want to tip me :) http://www.simonpbriggs.co.uk/
from recaptcha-plugin.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recaptcha-plugin.