Simple PHP script not working

Discussion created by CarlSchwarz on Nov 24, 2013
Latest reply on Nov 26, 2013 by CarlSchwarz

I have a PHP page call a very simple script but when run in filemaker it works fine, when called from PHP it can't access the remote table. Anyone know why?



Go to layout "PHP_Period"

set field "Parameter Test" get(scriptparameter) //This works fine from PHP

set field "Date Temp" get(scriptparameter) //I can assume that this works fine right?

set field "PHPResult" relatedtable::relatedvalue


When run from Filemaker the final script step works fine.

When run from PHP the final script step sets PHPResult to a blank value.

It appears as though the value through the relationship can't be found.


The PHP side is opening the filemaker file with an Admin account to make sure access privileges are correct.


Thanks for your help!