Chris W wrote:
> In an effort to make sure no binary data is maliciously submitted via a
> form I have code the makes sure all characters in any input field are
> with in the range of a space to a "~". However now that I am getting
> some users of my site from Europe, that are having problems submitting
> some extended characters. I don't have the time to localize this site
> for every language but I would like to make it so European users can
> enter the character that you don't find in the English alphabet. So I
> was wondering what other ascii values I need to allow so users in Europe
> won't have these problems?
Chris:
You need to use mysql_real_escape_string() on user input before you insert it.
Then there will be no need on character code range limitations.
--
Sasha Pachev
Create online surveys at http://www.surveyz.com/