Custom Guestbook Security Validation for Form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imarkdesigns
    New Member
    • Jul 2007
    • 46

    Custom Guestbook Security Validation for Form

    hello guys, im in need of something...

    something that can validate individual entry to my guestbook... which it can validate the entry pass to my form when someone signed on it....

    my custom guestbook contains:

    Name
    Email
    Website
    Referrer
    Location
    Comments

    and one thing...
    a script that can block inputting a javascript code inside the comment or any in the textfield...

    if someone have this... pls. help me stop spamming at my guestbook.
  • kovik
    Recognized Expert Top Contributor
    • Jun 2007
    • 1044

    #2
    Originally posted by imarkdesigns
    if someone have this... pls. help me stop spamming at my guestbook.
    In order to validate, you have to know what counts as valid.

    For spam, you'll likely want to either moderate the entries or approve them ahead of time.

    And for security, you'll need to do a lot more than filter JavaScript.

    Comment

    • imarkdesigns
      New Member
      • Jul 2007
      • 46

      #3
      ok... thanks for the info...

      anyway, im newbie to programming languages... is there any ways that i can have those codes?

      Comment

      • kovik
        Recognized Expert Top Contributor
        • Jun 2007
        • 1044

        #4
        Originally posted by imarkdesigns
        ok... thanks for the info...

        anyway, im newbie to programming languages... is there any ways that i can have those codes?
        There are plenty of ways. The way I recommend is to write them.

        If you insist on being lazy, go ahead and search online. Just so you know (and I quote), "PHP is easy enough to learn that idiots can learn it, then teach it in totally inaccurate ways." Beware where you learn from.

        Comment

        • imarkdesigns
          New Member
          • Jul 2007
          • 46

          #5
          hhmmm....

          well, i guess you write... again thanks for the idea... c`; )

          Comment

          Working...