Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.9
Author Message
phoenix-cms
Worker
Worker



Joined: Aug 05, 2005
Posts: 139

PostPosted: Mon Oct 17, 2005 12:14 am Reply with quote

hi i moved the filter system from 7.9 into 7.6 and done all the default filters now i doing some modules that are 3rd party to use the filter system can someone just confirm this is correct and i have really nice bbcode box on my wholesite its well nice

BEFORE:
Code:
$query = stripslashes(check_html($query, "nohtml"));


AFTER:
Code:
$query = filter($query, "nohtml"));


Just need yes or no its ok as i added this filter to most of the system and hack attempts where i could get in before now seems to stop so its better then default 7.6 well then again whole thing berecoded its no 7.6

using the best of opensource

thanks
steve

_________________
Evo 3.0 Developer & nukecops.com Admin
Image
coming soon www.www.cmsrevolution.com Smile 
View user's profile Send private message Send e-mail
phoenix-cms







PostPosted: Mon Oct 17, 2005 12:20 am Reply with quote

maybe better like $query = stripslashes(filter($query, "nohtml"));
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Oct 17, 2005 1:42 am Reply with quote

It looks like filter() does a stripslash anyway

Code:


      $what = stripslashes(FixQuotes($what));
      $what = check_words($what);
      $what = check_html($what, $strip);

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
phoenix-cms







PostPosted: Mon Oct 17, 2005 2:24 am Reply with quote

right so i can remove that part then

thanks
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.9

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©