On Sun, Nov 21, 2010 at 12:02 PM, Gary wrote:
> I have been testing various scripts to kill email injection attacks. I
> adapted this script and it seems to work well. Does anyone see any issues
> with this?
>
> $newlinecounter = 0;
> foreach($_POST as $key => $val_newline){
> if(stristr($val_
I have been testing various scripts to kill email injection attacks. I
adapted this script and it seems to work well. Does anyone see any issues
with this?
$val_newline){
if(stristr($val_newline, '\r')){$newlinecounter++;}
if(stristr($val_newline, '\n')){$newlinecounter++;}
if(stristr($val_ne
2 matches
Mail list logo