PHP Classes

Security

Recommend this page to a friend!

      PHPMailer  >  All threads  >  Security  >  (Un) Subscribe thread alerts  
Subject:Security
Summary:header injection
Messages:1
Author:juglesh
Date:2011-04-19 20:23:12
 

  1. Security   Reply   Report abuse  
Picture of juglesh juglesh - 2011-04-19 20:23:12
Hi,
Does this class protect against , header injection,spamming?

does it automatically fix the issues like:
foreach($_REQUEST as $fields => $value) if(eregi("TO:", $value) || eregi("CC:", $value) || eregi("CCO:", $value) || eregi("Content-Type", $value)) exit("ERROR: Code injection attempt denied! Please don't use the following sequences in your message: 'TO:', 'CC:', 'CCO:' or 'Content-Type'.");