The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
I Need Help with php path in paypal donation form example - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: I Need Help with php path in paypal donation form example (/showthread.php?tid=1967) |
I Need Help with php path in paypal donation form example - lkring - Mar 28th, 2012 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"); RE: I Need Help with php path in paypal donation form example - bsoussana1234 - Dec 3rd, 2013 did you ever find your answer because I am having the same issue RE: I Need Help with php path in paypal donation form example - Joe - Dec 29th, 2013 Here's how you find a path to a file: http://www.htaccesstools.com/articles/full-path-to-file-using-php/ Cheers, Joe |