baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from Claus on 6/1 2007, 09:38 +01:00

    Re: please any solution for continuos spam in forum template


      Hi,

      try it in this way:

      <perl>
      if (%_put)
      {
      my $test=$_put{fieldname1}.$_put{fieldname2}.$_put{fieldname3} etc...;
      if ($test =~ /badword1|badword2|badword3|badword4/i)
      {
      undef %_put;

      }
      }
      </perl>


      <do action=all .......>

      instead of badword1 etc fill in your own badwords, okay?

      hth

      Greetings

      Claus

    Your reply:

    Name: EMail: WWW:
    Subject:
    Text:
    Timezone:

    Post a new message


 All messages from this thread: To the list 
    Message from gian on 5/31 2007, 17:54 +00:00

    please any solution for continuos spam in forum template


      please, anyone have a solution for continuos spam in forum template?
      I can`t continue with baseportal without a solution for the spam problem...
      Please help me
     Post a reply

    Message from Claus on 6/1 2007, 09:38 +01:00

    Re: please any solution for continuos spam in forum template


      Hi,

      try it in this way:

      <perl>
      if (%_put)
      {
      my $test=$_put{fieldname1}.$_put{fieldname2}.$_put{fieldname3} etc...;
      if ($test =~ /badword1|badword2|badword3|badword4/i)
      {
      undef %_put;

      }
      }
      </perl>


      <do action=all .......>

      instead of badword1 etc fill in your own badwords, okay?

      hth

      Greetings

      Claus

     Post a reply
     

 Messages from 450 to 600: To the input form 
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >>


Back to the homepage

© baseportal.com. All rights reserved. Terms of use



baseportal.com