Hi Ernest,

Not exactly sure but here's everything on $PHORM_RCONFIG from the readme...

Requiring a Form-Specific Config File
        The normal way to run Phorm is to have it named in the 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.php3, 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.

        Note: the operation of $PHORM_RCONFIG is now the opposite of what it was
before version 2.5.1. Before that, it was necessary to set $PHORM_RCONFIG to
"Y"


And -

$ph_Redirect    A URL to re-direct to, set either to $PHORM_URL by the
$PHORM_RCONFIG code, or to$PHORM_RDIRECT or $HTTP_REFERER if there was no
ack template.

And -

$PHORM_RCONFIG: If this is set to "Y", Phorm will not run if $PHORM_CONFIG
is not set. You can use this to prevent people from going directly to the
URL for Phorm and bypassing your form (which generates an alert to you!)

And -

$PHORM_URL:     A URL to attempt to redirect to if $PHORM_RCONFIG is set and
$PHORM_CONFIG is not - presumably the URL of your form.

Dan

-----Original Message-----
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 08, 2003 7:48 PM
To: Dan Sabo
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] phorm (PHPMail) script setup problem...


At 01:17 09.03.2003, Dan Sabo said:
--------------------[snip]--------------------
># This variable indicates that a local config file is NOT required.
>  $PHORM_RCONFIG = "N";
--------------------[snip]--------------------

Not that I'd know _anything_ of Phorm, but in my first sight of your post I
thought "RCONFIG" would mean "remote config", and if set to "no" this would
mean to use a local config?

Just an idea of an absolute outsider...


--
   >O     Ernest E. Vogelsinger
   (\)    ICQ #13394035
    ^     http://www.vogelsinger.at/




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to