[phorm] [Phorm:] Re: Exclusive SSL use

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 6 Dec 2004 15:23:28 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#4521) Re: Exclusive SSL use 
            <http://www.phorm.com/support/?rev=4521> 
  AUTHOR:   Holotech 
  DATE:     December 6, 2004 at 10:23 a.m. EST 

  Reply To: (#4516) Exclusive SSL use 
  Author:   super eddie 
  Date:     December 5, 2004 at 7:08 p.m. EST 

> would like to use phorm in just SSL 

> is there a way for the script to check for an SSL 
> connection before displaying? 

Depending on your server, there's most likely an environment variable that 
tells whether it's a secure request. For Apache it's HTTPS. This is available 
in PHP as either HTTPS or _SERVER[HTTPS]. 

If you're adventurous, you could create your own validation plugin for it. 
There's a template named yada.php in the plugins directory; just do a text 
search for "change this". 

Otherwise, you can use the REQ criterion on HTTPS or _SERVER[HTTPS] (or 
whatever it is for your server). 

*************************************************************************** 

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.

Other related posts:

  • » [phorm] [Phorm:] Re: Exclusive SSL use