Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    You don't have to define the db first -.- And yes, it should be clean($i)

    Anyway,

    Uhh remember when your logging script got owned with iframes, redirects, e.t.c.

    POWERpanel
    I cleaned mine out for SQL Injections, I didn't care about iframes.

  2. #12
    Join Date
    Apr 2006
    Location
    Leamington Spa
    Posts
    1,375
    Tokens
    72

    Latest Awards:

    Default

    Simon wouldn't the use of htmlspecialchars(); do basically exacly what your clean(); function did?
    i've been here for over 8 years and i don't know why

  3. #13
    Join Date
    Oct 2007
    Location
    Luton, England
    Posts
    1,548
    Tokens
    388
    Habbo
    DeejayMachoo

    Latest Awards:

    Default

    Quote Originally Posted by Imperial March View Post
    Simon wouldn't the use of htmlspecialchars(); do basically exacly what your clean(); function did?
    no it wouldn't

  4. #14
    Join Date
    Apr 2006
    Location
    Leamington Spa
    Posts
    1,375
    Tokens
    72

    Latest Awards:

    Default

    Oh, think I'm confused about how to use the clean(); thing.
    i've been here for over 8 years and i don't know why

Page 2 of 2 FirstFirst 12

Posting Permissions

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