Web Analytics Made Easy -
StatCounter Validating subject, body arguments for mail function - CodingForum

Announcement

Collapse
No announcement yet.

Validating subject, body arguments for mail function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Validating subject, body arguments for mail function

    I am using the mail function for my contact us/order forms.
    For security purposes - Is it necessary to validate fields that are only being added to the subject and body arguments of the mail function? I understand that any data going in the headers part must be validated and understand how users can inject extra headers into that. But can't see how the body and subject field could be a danger?
    You can not say you know how to do something, until you can teach it to someone else.
Working...
X