SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Help !

  1. #1
    SitePoint Zealot doca's Avatar
    Join Date
    Dec 2004
    Location
    Vienna, AT
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help !

    this #+#*"&%! badwords script make Difference Between BADWORD badword or BadWord , WHY ???? I must always enter all
    combination in profanity list
    PHP Code:
    $badwords mysql_query("select profanitytxt FROM $tableprofanity where id='$id'");
            
    $rowords mysql_fetch_array($badwords);
            
    $profanitytxt explode(","$rowords[profanitytxt]);
            
    $bad "***";
            
    $i "0";
            while (
    $profanitytxt[$i]){
            
    $length strlen($profanitytxt[$i])-0;
            
    $bad substr($profanitytxt[$i], 00) . substr($bad, -$length);
            
    $poster ereg_replace($profanitytxt[$i],$bad$poster);
            
    $poster wordwrap($poster13"\n"1);
            
    $msg ereg_replace($profanitytxt[$i],$bad$msg);
            
    $msg wordwrap($msg$wrapafter"\n"1);
            
    $i++;
            } 

  2. #2
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First off use a different subject than 'Help!' to get help. It makes no sense to those of us who browse the forum quickly to stop and see what on earth the thread could be about when it is surrounded by much more interesting subjects that we know what they are referring to.

    Having said that, look into the strtolower() function.
    Aaron Brazell
    Technosailor



  3. #3
    SitePoint Zealot doca's Avatar
    Join Date
    Dec 2004
    Location
    Vienna, AT
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Post Closed !!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •