al3x8730 Posted September 12, 2008 Share Posted September 12, 2008 I have the problem as defined: http://www.milw0rm.com/exploits/3758 It says I can either make a .htaccess file to disallow people going to the file (/forum/shoutbox.php In my case) or I can "Add code to perform strip_tags() on $shout in shoutbox.php" How would I go about doing either, or both? Link to comment https://forums.phpfreaks.com/topic/123984-strip_tags-or-htaccess/ Share on other sites More sharing options...
Stryves Posted September 12, 2008 Share Posted September 12, 2008 for the strip tags, $messfilter=$_POST['message']; $message=strip_tags($messfilter); $message will be your stuff inserted into the db. Link to comment https://forums.phpfreaks.com/topic/123984-strip_tags-or-htaccess/#findComment-640039 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.