[phorm] [Phorm:] Re: Can't open ACK file

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 12 May 2003 22:53:44 -0000

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

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

  MESSAGE:  (#2683) Re: Can't open ACK file 
            <http://www.phorm.com/support/?rev=2683> 
  AUTHOR:   Patrick O'Hara 
  DATE:     May 12, 2003 at 6:53 p.m. EST 

  Reply To: (#2681) Can't open ACK file 
  Author:   adam 
  Date:     May 12, 2003 at 5:47 p.m. EST 

Hi there, you've got a couple of problems that we should tackle first. The 
first one is the error that says you can t access phorm.php directly. This 
occurs when you try to direct your users to phorm.php directly and not through 
the form. 

<form name="foo" method="post" action="/phorm/phorm.php"> 

where phorm is installed in a director named phorm in your web root. 

The ack file not opening: Phorm strips all path info from the filenames, so 
your config file should have: 

$PHORM_ACK = "ack.html"; 

this should be in the same directory as the config file - be that the 
phormconfig.php3 file or the form specific file that you specify. 

Using PHORM_NAME and PHORM_BASE (when passed from the form) are only used to 
tell the system what directory to change to. This is specified in 
formbase.php3 and should be checked in the documentation. PHORM_NAME also sets 
the name of the form, but thats pretty much only for error reporting. 

I'm just a little worried about the syntax you're using at the bottom of your 
last post - make sure that you're setting variables as I demonstrated above. 

Hope this helps get you started. 

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: