[phorm] [Phorm:] Re: Error when I include a script.

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 15 May 2003 23:56:21 -0000

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

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

  MESSAGE:  (#2710) Re: Error when I include a script. 
            <http://www.phorm.com/support/?rev=2710> 
  AUTHOR:   Patrick O'Hara 
  DATE:     May 15, 2003 at 7:56 p.m. EST 

  Reply To: (#2708) Error when I include a script. 
  Author:   Peter 
  Date:     May 15, 2003 at 4:44 p.m. EST 

Hi there, is the file you are trying to include in which of the following 
directories: 

- 1. same as phorm.php 
- 2. same as the form specific config file 
- 3. same as the ack template (may be same as above) 

When the file is included, the file is read relative to phorm.php as this is 
where the script is executing. If you have it somewhere else, you must include 
the correct path info. 

If you want the file to be in the same directory as the form specific config 
file (that you changed to by using phormbase.php3) then you must use one of 
the following line to include your file: 

// in with phorm.php 
include("./your_file.php"); 

// in with form specific config file 
include("$ph_cwd/your_file.php"); 

// in template dir with ack page 
include("$ph_tpd/your_file.php"); 

Hope this helps sort out your problem. 

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: