[phorm] Re: Absolute Url's for Ack page?

  • From: Phorm Support <support@xxxxxxxxx>
  • To: Ton E <phorm@xxxxxxxxxxxxx>
  • Date: Wed, 7 May 2003 08:27:54 -0400

> Is it possible to use absolute acknowledge pages in phorm, like
Yes and no. Yes, you can *redirect* to an absolute address. No, it
won't be a Phorm ack page as such, in that Phorm will not process it
and perform variable substitution. Phorm has to actually read the
file, process it, and output the result. That's why the ack page
actually has the /phorm.php address - it really is Phorm.

However, rather than $PHORM_ACK, you can use $PHORM_RDIRECT, and Phorm
will simply re-direct to the specified URL. But of course, since the
browser will end up at that location rather than at Phorm, there is no
way for Phorm to do the variable substitution.

With that said, you *might* be able to specify an absolute reference
for $PHORM_ACK, depending on your PHP configuration. In that case,
Phorm *will* read the file at that location, perform variable
substitution and display the result. However, the URL in the browser's
address bar will still be Phorm's address. Check with your system
administrator as to whether PHP is configured to be able to open a URL
as a file.

-- 
Alan Little
Phorm Support
http://www.phorm.com/

On Wednesday, May 7, 2003, 8:54:05 AM, you wrote:

> Is it possible to use absolute acknowledge pages in phorm, like

> $PHORM_ACK     = "http://www.phorm.com";;

> Right now it accepts only relative links to the template directory I think.
> Can you also define this in the config file so it can use absolute url's for
> the acknowledge pages?

> -------------------------------------------------
> 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.

-------------------------------------------------
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.

Other related posts: