SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict aniltc's Avatar
    Join Date
    Nov 2006
    Location
    INDIA
    Posts
    399
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up Input filtering in php 5.2

    What is Input filtering in php? How it helps the developers?
    can anybody share your ideas?

    Thanks

  2. #2
    SitePoint Addict
    Join Date
    Apr 2001
    Location
    Devon, UK
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Input filtering (in any language) means that you check the values a user has entered to make sure they're valid. For example, an email address should have a single @ with a certain sequence of characters that can be checked using a regular expression.

    The reasons for doing include:

    1. It helps the user.
    2. It prevents errors in your system, e.g. you won't send an email to an invalid address.
    3. It prevents hacking, i.e. using your system to send bulk emails or accessing your databases.

  3. #3
    SitePoint Addict aniltc's Avatar
    Join Date
    Nov 2006
    Location
    INDIA
    Posts
    399
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up php 5.2 has a built in support for input filtering.

    Thanks

    but here i am eager to know more about how php 5.2 handling input filtering.I have heard that php 5.2 has a built in support for input filtering.

    can anbody share about this ?

  4. #4
    play of mind Ernie1's Avatar
    Join Date
    Sep 2005
    Posts
    1,252
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my mobile portal
    ghiris.ro


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
  •