[phorm] [Phorm:] Re: switching email subjects

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 22 May 2003 23:38:36 -0000

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

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

  MESSAGE:  (#2727) Re: switching email subjects 
            <http://www.phorm.com/support/?rev=2727> 
  AUTHOR:   Patrick O'Hara 
  DATE:     May 22, 2003 at 7:38 p.m. EST 

  Reply To: (#2726) Re: switching email subjects 
  Author:   doug 
  Date:     May 22, 2003 at 7:26 p.m. EST 

> Hmm, maybe I don't 100% understand the significance of 
> the PHORM_ prefix. All I know is that in my early 
> experience of getting Phorm to work, failure to prefix 
> variables with PHORM_ seemed to result in them not 
> being passed. 

<input name="foo"> 
<input name="bar"> 
<input type="submit" value="Submit"> 

When a user enters info into the two boxes and presses submit, the values are 
stored in the two variables $foo and $bar respectively. You can check this by 
putting 

die("$foo - $bar"); 

in your config file. (Only for checking - then take it out again.) If it 
doesn't work, there's something wrong with your PHP installation. Also try: 

die(print_r($GLOBALS)); 

and it'll tell you all the variables currently assigned. You'll need to click 
view source on the output to get the plain text version instead of the 
unformatted HTML. 

Basically, if it comes off the form you shouldn't need to prefix it with 
PHORM, infact, you shouldn't, as this could potentially get cause conflicts 
with variables in Phorm. 

Hope this helps, 

Regards, 

Patrick O'Hara 
WhitsundayIT 
QLD, Australia 

patrick@xxxxxxxxxxxxxxxx 
www.whitsundayit.com 

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

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: