Jump to content

Chevy

Members
  • Posts

    167
  • Joined

  • Last visited

    Never

Posts posted by Chevy

  1. I posted this in the CSS forum with no success.

     

     

    Hello all!

    I have been trying for days to get HTML purifier to filter my CSS, with no prevail at all.

    Do you guys recommend any certain way to filter user inputted CSS style sheets? Any filter to use?

  2. Hello all!

    I have been trying for days to get HTML purifier to filter my CSS, with no prevail at all.

    Do you guys recommend any certain way to filter user inputted CSS style sheets? Any filter to use?

  3. <?php
    
    if (isset($_COOKIE['login']) && basename($_SERVER['PHP_SELF']) == "index.php"){
    
       $mark = $database_query->marks;
    
       if ($mark <= 40){
          echo 'Yikes! It looks like you need to work a little harder to bring up your grade!';
       }
    
    }
    
    ?>

     

    Something like that is what you mean?

  4. Yes, they are properly wrapped.

     

    <div id="menu">
    <div id="navigation">
       <a href="index.php">H o m e</a>
       <a href="index.php">N e w s</a>
       <a href="index.php">B i o</a>
       <a href="index.php">P i c s</a>
       <a href="index.php">M u s i c</a>
       <a href="index.php">C o n t a c t</a>
       <a href="index.php">T o u r s</a>
    </div>
    </div>
    

  5. still not what I am asking.

     

    Okay I am sure you all know about XSS attacks.

     

    If I used strip_tags, I would be making a list that is VERY long, because I only want to ban a few HTML tags, like my imaginary function.

     

      $text = allow_tags($varible, '<object><param><embed><script>');

     

    it does pretty much to reverse of strip_tags.

  6. I am a complete novice at javascript, and I don't know how I would apporach this.

     

    I have an image of a world, and I want it so if you hover over an spot on the map, then a little box comes up and says what the country is all about.

     

    Like a balloon message.

     

      /----------------/

    <--------------- /

     

    Like that haha, if you get hat I mean.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.