Replace special chars |
[eluser]Shella[/eluser]
Hi, I'm just seeking for some tips about how to manage a chars replacement. My point is that in my system, when an user is registering, I create a directory. Let's say... http://www.domain.com/user/nickname where nickname is the nickname user had choose. What I want is to grant that user do NOT insert characters as ? * à ... any kind of chars that you too would avoid. Is there any Codeigniter function that can help me here? Thanks Shella
[eluser]Aken[/eluser]
In addition, you can sanitize strings into URL-appropriate versions using the url_title() helper function.
[eluser]Shella[/eluser]
Ok thanks for both reply. I'd not try yet but I read about base64_valid and this shoud be excctly what I was looking for. Cheers |
Welcome Guest, Not a member yet? Register Sign In |