CodeIgniter Forums
Captcha Gotcha: Locale - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Captcha Gotcha: Locale (/thread-2834.html)



Captcha Gotcha: Locale - El Forum - 08-27-2007

[eluser]Crimp[/eluser]
Briefly for the forum record:

captcha, plugin, locale, sql insert, comma, period, floating point, delimiter

The captcha plugin uses a floating point number from microtime() to set the time and file name.

If you change the locale with, for example, LC_ALL and end up with a different floating point delimiter, usually period to comma, your SQL inserts of the captcha data etc. will obviously fail.