I have it working!!!
I'm not sure there is a 'solution', since I'm not sure there is a problem. It is more likely an LNBK issue (Loose Nut Behind Keyboard)
The Solution:
Its the paths
(Relative, Absolute, and something I don't know what to call).
I read this in the tutorial:
"The path to the api.php file has to be updated, depending on where it's located in relation to your form"
I took that to mean a relative path, which I thought works like this.
If the Path to the form is: /sitetools/formtools/forms/filename.php
A relative path would be: /formtools/global/api/api.php.
It seems I have the wrong understanding of the meaning of 'relative path', or the type of path to use (absolute?), or both.
Anywho, I tried (what I believe is) an absolute: http://myProject.com/formtools/global/api/api.php.
But alas, there was no joy in Mudville.
BUT,
I had noticed people in the forums using this:
"/home2/UserAcct/public_html/projectName/formtools/global/api/api.php"
I have never used this type of path as a file reference to a web page, it would not have occurred to me.
But, I tried it out in the 3 file references at issue:
require_once (on result page)
require_once (on Form Page)
$params > next_page (on Form Page)
Quoth Bullwinkle, "this time, for sure!".
But i defiantly had the wrong hat.
The Solution (if you want to call it that - it feels like spit and bubble gum to me) was using the correct path types for the correct file references. Using the same path format for all three file references did not work (for me). It was only when I accidentally left the path formats inconsistent, that I started getting responses on submits, and realized the path types were mix n' match.
From there, it was not long before I found the correct combination (which works for me anyway):
require_once (on result page) uses a path like: /home2/UserAcct/public_html/projectName/formtools/etc...
require_once (on Form Page) same type of path as above
$params > next_page (on Form Page) = /formtools/global/posforms/posresult.php
It looked to me like other combinations might work, and maybe this is not the correct solution. But I had lost enough time on this and had better just move on to the next part.
(after sharing my results and thanking you all for your help - if not on this issue, then the next one)
Thank you!!!
-Jim
I'm not sure there is a 'solution', since I'm not sure there is a problem. It is more likely an LNBK issue (Loose Nut Behind Keyboard)
The Solution:
Its the paths
(Relative, Absolute, and something I don't know what to call).
I read this in the tutorial:
"The path to the api.php file has to be updated, depending on where it's located in relation to your form"
I took that to mean a relative path, which I thought works like this.
If the Path to the form is: /sitetools/formtools/forms/filename.php
A relative path would be: /formtools/global/api/api.php.
It seems I have the wrong understanding of the meaning of 'relative path', or the type of path to use (absolute?), or both.
Anywho, I tried (what I believe is) an absolute: http://myProject.com/formtools/global/api/api.php.
But alas, there was no joy in Mudville.
BUT,
I had noticed people in the forums using this:
"/home2/UserAcct/public_html/projectName/formtools/global/api/api.php"
I have never used this type of path as a file reference to a web page, it would not have occurred to me.
But, I tried it out in the 3 file references at issue:
require_once (on result page)
require_once (on Form Page)
$params > next_page (on Form Page)
Quoth Bullwinkle, "this time, for sure!".
But i defiantly had the wrong hat.
The Solution (if you want to call it that - it feels like spit and bubble gum to me) was using the correct path types for the correct file references. Using the same path format for all three file references did not work (for me). It was only when I accidentally left the path formats inconsistent, that I started getting responses on submits, and realized the path types were mix n' match.
From there, it was not long before I found the correct combination (which works for me anyway):
require_once (on result page) uses a path like: /home2/UserAcct/public_html/projectName/formtools/etc...
require_once (on Form Page) same type of path as above
$params > next_page (on Form Page) = /formtools/global/posforms/posresult.php
It looked to me like other combinations might work, and maybe this is not the correct solution. But I had lost enough time on this and had better just move on to the next part.
(after sharing my results and thanking you all for your help - if not on this issue, then the next one)
Thank you!!!
-Jim