Location: PHPKode > projects > The Invisible Mailer (TiM) > tim/addfilter.php
<?php

include "common.php";
include "template.phpinc";

$data = addslashes(stripslashes(strtolower($data)));
$rule = addslashes(stripslashes(strtolower($rule)));
$field = addslashes(stripslashes(strtolower($field)));
$priority = addslashes(stripslashes($priority));
$moveto = addslashes(stripslashes($moveto));

$mailstore->rawQuery("insert into filters (fdata, ffield, ftype, fpriority, fmoveto) values ('$data', '$field', '$rule', '$priority', '$moveto')");

tim_redirect("filters.php");

?>
Return current item: The Invisible Mailer (TiM)