who can I allow people to register with any language( other than English). and take care of invalid characters.

I made something like this

function chkData($str){
	return preg_match("/^[^a-z]{1}|[^a-z0-9_.-]+/i", $str);
}

but I can not use Arabic Language

    You may gave to look into using something like [man]mb_ereg/man in order to be able to work with unicode characters.

      NogDog;10955946 wrote:

      You may gave to look into using something like [man]mb_ereg/man in order to be able to work with unicode characters.

      Hi NogDog

      could you explain more??? with example???

        Write a Reply...