FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with finding my Dir
#1
I Need Help with php path in paypal donation form example
I freely confess that I know virtually nothing about php - can someone provide me an concrete example of what the php should look like in my /includes/library.php file using the example files from the formtools.org website. For example, if I install the example files in a directory: http://www.mysite.com/forms/. Then what should the top lines (below) in the /includes/library.php file be changed to?

// the path needs to be updated to include your api.php
$includes_folder = dirname(__FILE__);
require_once("$includes_folder/path/to/global/api/api.php");
Reply
#2
You can just use this to find the path to your installation: http://www.htaccesstools.com/articles/fu...using-php/

Cheers,

Joe
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)