PluginProbe
RSVP and Event Management / 1.2.0
RSVP and Event Management v1.2.0
trunk 0.5.0 0.6.0 0.7.0 0.8.0 0.9.0 0.9.5 1.0.0 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.5.0 1.6.0 1.6.1 1.6.2 1.6.5 1.7.0 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 All 136 releases
rsvp / jquery-validate / demo / captcha / rand.php

rand.php in RSVP and Event Management 1.2.0, at jquery-validate/demo/captcha/rand.php

11 lines 393 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Create a random string, leaving out 'o' to avoid confusion with '0'
4 $char = strtoupper(substr(str_shuffle('abcdefghjkmnpqrstuvwxyz'), 0, 4));
5
6 // Concatenate the random string onto the random numbers
7 // The font 'Anorexia' doesn't have a character for '8', so the numbers will only go up to 7
8 // '0' is left out to avoid confusion with 'O'
9 $str = rand(1, 7) . rand(1, 7) . $char;
10
11 ?>