redfort Posted December 1, 2010 Share Posted December 1, 2010 We need some help to change code part of class: InputFilter (@date: 10-05-2005, @version: 1.2.2_php4/php5 ), We are passing string with tag <HOMETOWN RANGE> to function filterTags($source). But the output string will contain only tag <HOMETOWN> and its striping RANGE. Please suggest us some changes so that we can implement the same. Thanks In advance. Quote Link to comment https://forums.phpfreaks.com/topic/220335-class-inputfilter/ Share on other sites More sharing options...
trq Posted December 1, 2010 Share Posted December 1, 2010 What exactly are you talking about? Quote Link to comment https://forums.phpfreaks.com/topic/220335-class-inputfilter/#findComment-1141761 Share on other sites More sharing options...
redfort Posted December 1, 2010 Author Share Posted December 1, 2010 Hi , the class is used to validate tags inside a string.....and validate html tag attributes .......and validate the string to to proper way...........to avoid any harmful........ but the tag <HOMETOWN RANGE> is not an html.........and its striping RANGE.......... how can we change the class method.......to avoid this.......... Do we any way we can check HTML Tags and html tag attributes.......... Quote Link to comment https://forums.phpfreaks.com/topic/220335-class-inputfilter/#findComment-1141785 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.