[erledigt] Advanced Visual Confirmation 1.2.0
Verfasst: 27.12.2006 01:46
Hy
Phpbb2.0.20
habe obengennante MOd im mein Forum inegriert, nur wenn ich komplette Anweisung für usercp_register.php ausführe :
bekomme ich Fehler
ohne diesen funktioniert es , aber CAPTIA erzeugt I,O,0..
Habe versucht nur Zeile
Freischalten, aber gleichen Ergebnis.
Wie kann ich CAPTIA zwingen das keine I,O,0 erzeugt?
usercp_register.txt
Viel Dank
Tom
Phpbb2.0.20
habe obengennante MOd im mein Forum inegriert, nur wenn ich komplette Anweisung für usercp_register.php ausführe :
Code: Alles auswählen
// Generate the required confirmation code
// NB 0 (zero) could get confused with O (the letter) so we make change it
$code = dss_rand();
$code = substr(str_replace('0', 'Z', strtoupper(base_convert($code, 16, 35))), 2, 6);
#----------[ REPLACE WITH ]-----------------------------
// Generate the required confirmation code
$code_length = mt_rand(4, 6);
$code = dss_rand();
$code = strtoupper(base_convert($code, 16, 35));
$code = str_replace('I', '', $code); // The letter I could get confused with the letter J and the number 1 (one) so we remove it
$code = str_replace('0', '', $code); // NB 0 (zero) could get confused with O (the letter) so we remove it
$code = substr($code, 2, $code_length);
Code: Alles auswählen
Fatal error: Call to undefined function: dss_rand() in/home2/opustise/public_html/forum/includes/usercp_register.php on line 1074
Habe versucht nur Zeile
Code: Alles auswählen
$code = str_replace('I', '', $code); // The letter I could get confused with the letter J and the number 1 (one) so we remove it
$code = str_replace('0', '', $code); // NB 0 (zero) could get confused with O (the letter) so we remove it
Wie kann ich CAPTIA zwingen das keine I,O,0 erzeugt?
usercp_register.txt
Viel Dank
Tom