Welcome Guest, Not a member yet? Register   Sign In
[suggestion] add strip_url() and valid_url()
#1

[eluser]tokyotech[/eluser]
May I suggest that strip_url() be added to the next version of CI? It would be used to remove spam from comments. It should remove these variations:

Code:
http://www.site.com
www.site.com
http://site.com
site.com
www site com
www . site . com
www,site,com
etc...

And on a related note, can we add valid_url to the form validation rule set? It can be used when people are filling out their profile pages.

Thanks for taking this into consideration!




Theme © iAndrew 2016 - Forum software by © MyBB