if($fieldinfo[1] == 'textdata') { ${$fieldinfo[0]} = FilterSearch(stripslashes(${$fieldinfo[0]})); ${$fieldinfo[0]} = addslashes(${$fieldinfo[0]}); } |
if($fieldinfo[0] == 'ip') { ${$fieldinfo[0]}=GetIP(); } if($fieldinfo[0] == 'time') { ${$fieldinfo[0]}=date("Y-m-d H:i:s"); } |