Help for this page
my $subcookie = untaint ( substr($cookie,0,6) ); # this is a substring + of the SID, that I use as a name for a dinamic directory for the use +r. Also, check my untaint() function below ... close DIR; ... # and the code goes on
sub untaint { ... }