Very nice.
you really should change
PHP Code:
foreach($HTTP_POST_VARS as $name => $value)
{
// Replace {{field_name}} with appropriate value.
$code = str_replace("{{" . $name . "}}", $value, $code);
$subject = str_replace("{{" . $name . "}}", $value, $subject);
// Make sure, on error, keep fields filled out.
eval("\$v_$name = \"$value\";");
}
though so that it doesnt use the $HTTP_POST_VARS superglobal. (and everywhere else you use the super globals.. and you should use $_REQUEST too btw)
https://vborg.vbsupport.ru/showthread.php?t=98047