CodeIgniter Forums
Captcha Gotcha: Locale - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived General Discussion (
+--- Thread: Captcha Gotcha: Locale (/thread-2834.html)

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

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.