The following new message has been posted on Phorm Support Forum at <http://www.phorm.com/support/>. *************************************************************************** MESSAGE: (#2714) switching email subjects <http://www.phorm.com/support/?rev=2714> AUTHOR: doug DATE: May 20, 2003 at 9:53 p.m. EST I'm trying to format email subject headers based on the form input, because we need to easily parse quite a lot of e-mail, potentially. I've written a little code snippet after the variable declaration in the secondary config1.php3. In my head, there's no reason why this shouldn't work, but it seems like the switch never happens, after many experiments and alterations. It ALWAYS sends as if the variable has been filled, but then does not actually send the variable. I suspect this has something to do with WHEN the secondary config1.php3 is called, but beyond that, I am clueless. $PHORM_referral = ph_DECLARE; if ($PHORM_referral == "") { $PHORM_SUBJECT = "Application (no referrer)"; } else { $PHORM_SUBJECT = "Application (referral:" . $PHORM_referral . ")"; } Help? *************************************************************************** This is an automatically-generated notice. If you'd like to be removed from the mailing list, please visit Phorm Support Forum at <http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx If you wish to respond to this message, please post your response directly to the board. Thank you! ------------------------------------------------- You are receiving this message because you are subscribed to the Phorm mailing list. To send messages to the mailing list, simply send email to phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe from the list by sending email to phorm-request@xxxxxxxxxxxxx with 'unsubscribe' in the SUBJECT field.