pkirsch Posted February 12, 2007 Share Posted February 12, 2007 Hello! I am wondering if PHP can search strings of text submitted from a form? What I'm trying to do is make a Form Cleaner that searches form submissions and removes "<script>" etc.! Any suggestions? Thanks and have a great day! pkirsch Link to comment https://forums.phpfreaks.com/topic/38218-solved-php-string-searching/ Share on other sites More sharing options...
Jessica Posted February 12, 2007 Share Posted February 12, 2007 use strip_tags() or Pear's HTML_Safe All the string functions are here:http://us3.php.net/manual/en/ref.strings.php Link to comment https://forums.phpfreaks.com/topic/38218-solved-php-string-searching/#findComment-183024 Share on other sites More sharing options...
pkirsch Posted February 13, 2007 Author Share Posted February 13, 2007 Thank you very much! Link to comment https://forums.phpfreaks.com/topic/38218-solved-php-string-searching/#findComment-183422 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.