PHP Classes

So, what do you think?

Recommend this page to a friend!

      PHP Input Filter  >  All threads  >  So, what do you think?  >  (Un) Subscribe thread alerts  
Subject:So, what do you think?
Summary:So, what do you think?
Messages:5
Author:Daniel Morris
Date:2005-03-18 13:33:53
Update:2007-12-31 06:24:45
 

  1. So, what do you think?   Reply   Report abuse  
Picture of Daniel Morris Daniel Morris - 2005-03-18 13:33:53
Any comments, queries, problems?

  2. Re: So, what do you think?   Reply   Report abuse  
Picture of marc schut marc schut - 2005-04-13 14:35:44 - In reply to message 1 from Daniel Morris
First of all this way of filtering bad input works great!

I have only one problem, when I want to input a mailto anker, the inputfilter filters the subject and body and I cannot stop that. Is this a bug or is there a way to pass this.

Thanks in advance and keep up the good work!

Marc


  3. Re: So, what do you think?   Reply   Report abuse  
Picture of Martin Bowles Martin Bowles - 2007-05-05 03:23:00 - In reply to message 1 from Daniel Morris
Thank you Daniel! I'm a bit new to php and this really gives me a step up in securing my website.

  4. Re: So, what do you think?   Reply   Report abuse  
Picture of Viktor Viktor - 2007-05-06 17:48:34 - In reply to message 1 from Daniel Morris
Hi Dan, I think there's a bug in your code - when I'm trying to filter out the tags from strings like ">:d<>:d<", "d<>d" php gives me the following error :

Fatal error : Allowed memory size of 33554432 bytes exhausted (tried to allocate 12582914 bytes) in ....\includes\phpInputFilter\class.inputfilter_clean.php5 on line 56

These strings are used for parsing smileys on the comments page. I tried to fix it by myself but unfortunately I can't.

Thanks, Victor Onyshchenko.

  5. Re: So, what do you think?   Reply   Report abuse  
Picture of Nashar Nashar - 2007-12-31 06:24:45 - In reply to message 4 from Viktor
To claify the bug Viktor found (I just stumbled on it too). It looks like an empty tag <> followed by anything will cause the bug to appear.