phpOpenCaptcha 2

Contrary to version one, this release insists in making segmentation more difficult for computers. In order to keep readability high, fonts aren't distorted (only rotated if the PHP-configuration supports it). Segmentation is made more difficult by shifting the letters as close as possible by pixel to pixel comparison. Letters are placed and rotated according to a randomly parametrized sinus graph.

 

Another improvement to the predecessor is the possibility to include fonts (only tested for black colored text) by a single png, containing the letters A-Z on a transparent background, separated by at least 2 pixels from each other. The script uses up to three fonts randomly selected from the fonts directory. Additionally, a jpg from the bgs directory is selected randomly to serve as background.

 

Advantages to Version 1.0

  • Harder to do segmentation for bot
  • Improved readability
  • Fonts and Background easily adaptable

Actions