MX AJAX Toolbox Forum :: php setlocale and mysql affects star rating widget

This thread was displayed: 0 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
PredaTeam InterAKT member
06-11-2007 13:39:17 GMT +2

If the global PHP locale is set to a language that uses coma as decimal separator the values generated by PHP will crash mysql when it comes to floats and decimals because they will be in the format 0,0000 instead of 0.00000. I guess Interakt scripts assume your locale is EN and scripts don't check that. So pay attention.

Back | Reply | Quote | Top
MX AJAX Toolbox 1.0.0
© Adobe Systems Romania. All rights reserved.