all repos — captcha @ 3218681ed3407df1bb387fba3d32cf0d9202787e

Go package captcha implements generation and verification of image and audio CAPTCHAs.

example: update with recent download changes.
Dmitry Chestnykh dmitry@codingrobots.com
Wed, 27 Apr 2011 13:12:28 +0200
commit

3218681ed3407df1bb387fba3d32cf0d9202787e

parent

c72fa4f230d8fc867bfe724a6f6f457fc331801f

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M example/main.goexample/main.go

@@ -76,7 +76,7 @@ <p><img id=image src="/captcha/{CaptchaId}.png" alt="Captcha image"></p>

<a href="#" onclick="reload()">Reload</a> | <a href="#" onclick="playAudio()">Play Audio</a> <audio id=audio controls style="display:none" src="/captcha/{CaptchaId}.wav" preload=none> You browser doesn't support audio. - <a href="/captcha/{CaptchaId}.wav?get">Download file</a> to play it in the external player. + <a href="/captcha/download/{CaptchaId}.wav">Download file</a> to play it in the external player. </audio> <input type=hidden name=captchaId value="{CaptchaId}"><br> <input name=captchaSolution>