hi, I'd like to create a filter which allows almost all chars but without / < > ? =
I've read in some site, I shoud use the ^ char inside ranges, but if I try it doesn't work properly:
mod_rewrite:
RewriteRule ^(user/)([^\<\>\?=]+)([/]?)$ user.php?username=$2
php for validation:
return eregi ("[^\<\>\?=/]", $value);
how I shoud write to set the right filter to allow all chars but not < > ? = /
in my range?
can someone sugest me some other character should not inserted on url string for security or compatibility?
consider I should work with URLs like:
http://www.last.fm/music/小林武史
http://www.last.fm/music/Trentemøller
http://www.last.fm/music/Lindstrøm+&+Prins+Thomas