Hi again!
Luc asked:
Is insert data action OK? My browser display below messages after insert data submit(GO). Error MySQL said: Query was empty
We know there are some problem in this area but, at this time, we can't find where the "bug" is.
Does this function must need 'stripslashes' ? get_magic_quote_gpc() ? stripslashes($message) : $message; In case of japanese-sjis code, this stripslahes is no good.
Yep, it does. If magic_quote_gpc is enabled, php slashes special characters and we must remove these slashes before executing the query. But I've read that some php releases are buggy with japanese characters. Maybe you can check the official php bug database?
Loïc
______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif
Yes, I know it. But 2.2.4-cvs ./libraries/common.lib.php code is
echo stripslashes($message);
I want to modify this code to
echo get_magic_quote_gpc() ? stripslashes($message) : $message;
Is this code correct?
Does this function must need 'stripslashes' ? get_magic_quote_gpc() ? stripslashes($message) : $message; In case of japanese-sjis code, this stripslahes is no good.
Yep, it does. If magic_quote_gpc is enabled, php slashes special characters and we must remove these slashes before executing the query.