php POST and non-english language chars passes empty
Posted
by haim evgi
on Stack Overflow
See other posts from Stack Overflow
or by haim evgi
Published on 2010-03-16T14:07:56Z
Indexed on
2010/03/16
15:31 UTC
Read the original article
Hit count: 356
I'm trying to program a Hebrew site with a search option. (old site and the charset of this site is windows-1255) I am using php 5.2 with Apache 2.2, on a Debian 5 (Lenny) with appropriate code pages enabled.
I am using _POST to pass arguments to a script. If I pass English word to the script everything works, but when I use Hebrew nothing is passed through the POST function. When I use ECHO to show _POST, the variable is empty.
What might be the problem?
P.S. this is old site that worked fine on PHP 4 with debian 4, and the problem arised only after we upgrade to PHP5+debian5.
© Stack Overflow or respective owner