SVGCaptcha
What is SVGCaptcha?
SVGCaptcha is a small library that creates captcha in SVG instead of PNG, GIF or JPG.
Instead of adding libraries on server and load the server with image creation you place this burden on client's browser.
SVG is becoming the de facto image standard for web and all modern browser support it.
Instead of adding libraries on server and load the server with image creation you place this burden on client's browser.
SVG is becoming the de facto image standard for web and all modern browser support it.
See it in action
Download
You can download the latest version from here.
Quick start
Simply include point the
src of an image to captcha.php (ex:
<img src="./captcha.php"/>
) and it will:
- Generate and render an SVG image in your browser
- Store the random string in
$_SESSION['captcha']
Fork us
You can fork this project on Bitbucket.