<INPUT TYPE=HIDDEN NAME="PHORM_CONFIG" VALUE="myconfig.php">This form-specific configuration file is also sometimes called the "local" config file.
Your Email address: <INPUT TYPE=TEXT NAME="PHORM_FROM">then you need to have the following in your configuration file:
$PHORM_FROM = ph_DECLARE;Note that there is no $ sign or quotes around ph_DECLARE. Declaring variables applies only to PHORM_ configuration variables, and only if they are set in your HTML form. You do not need to declare any of the other fields from your form, and you do not need to declare $PHORM_ variables that are set in your configuration files. The reason for this is to make it difficult for someone else (such as a spammer) to abuse your installation of Phorm by passing bogus values to it. There are two exceptions to this: one is $PHORM_CONFIG, and the other is $PHORM_NAME, which is described in the File Locations section. These two variables always retain their values.
ACTION attribute of
your FORM tag on an HTML form, as described above. However, if a visitor
should happen to bookmark your acknowledgement page, thinking he or she could come back to
it later, what they would really be bookmarking would be Phorm itself. When they return to
the bookmark, Phorm would execute, but if you are using PHORM_CONFIG in a field on your form to name a form-specific
configuration file, this would be bypassed, and Phorm needs to know what to do in this
case. If Phorm starts up and discovers that $PHORM_CONFIG is not
defined, the default action is to display the following message:
I'm sorry, this page only processes the contents of a form. You cannot access it directly.and then terminate. However, if you would rather have Phorm re-direct to a different URL in such a case, you can set $PHORM_URL. If you choose not to use form-specific configuration files, and instead have everything in phormconfig.php, you can tell Phorm not to require $PHORM_CONFIG to be set, by setting the variable $PHORM_RCONFIG to "N". This setting is very strict: it must be an upper-case "N". This is the only setting of $PHORM_RCONFIG. Setting it to "Y" or anything else is meaningless: if $PHORM_RCONFIG is not explicitly set to "N", Phorm will not execute without a local config file.