xss_clean on $this->uri->segment(2) |
[eluser]hugle[/eluser]
Hello Everyone, I think it's done in very easy way... but I can't find it. How do I xss_clean the $uri->segment values? for example I have: Code: $username = $this->uri->segment(2); how these values can be xss_clean'ed ...? thanks!
[eluser]rogierb[/eluser]
check out the awesome user guide. http://ellislab.com/codeigniter/user-gui...elper.html Just do an <code>$username = xss_clean($this->uri->segment(2))</code>
[eluser]hugle[/eluser]
[quote author="rogierb" date="1255007931"]check out the awesome user guide. http://ellislab.com/codeigniter/user-gui...elper.html Just do an <code>$username = xss_clean($this->uri->segment(2))</code>[/quote] thank you so much! I really appreciate this! cheers Jaroslav |
Welcome Guest, Not a member yet? Register Sign In |