Dec 3rd, 2013, 8:07 AM
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");
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");