<?track_vars?>
at the top of your PHP file.
Here is how I used it...
I have an HTML form that passes parameters to the following php program.
<?track_vars?>
<?php
$msg="Questions answered?\t$found_info\n";
$msg.="Message:\t$message\n\n";
$mailheaders = "From $sender_name\n";
$mailheaders .= "Reply to: $sender_email\n\n";
$mailheaders .= "Subject: $sender_subject\n\n";
mail("steve@yoursite.com", $sender_subject, $msg, $mailheaders);
mail("viktor@yoursite.com", $sender_subject, $msg, $mailheaders);
?>
In the same file immediately following my PHP routine is the HTML thank you page.
Also notice that this routine is sending duplicate messages to me and my partner.