[FX.php List] Passing Parameters for Perform Script Step

Anders Monsen andersm at mac.com
Thu Sep 20 13:57:02 MDT 2012


By trigger I mean do you get it to run in FMP from PHP using ...? You 
mentioned header(), so would that be an option?

header( "Location: FMP://192.168.10.0/filename.fmp12?script=scriptname" 
);  // per FMI example
exit;

Another trigger would be a hyperlink, I suppose.

--
Anders



On 9/20/12 2:19 PM, BEVERLY VOTH wrote:
> What do you mean "trigger"? it's just an URL. What does it do when you send it with header() in php? via email? via web? from fmp? from scheduled script (&is that possible)?
>
> I don't know, I would have thought someone has tested this from various places. :)
> Beverly
> On 20 Sep 2012, at 2:17 PM, Anders Monsen wrote:
>
>> Can you trigger the FMP url scheme via PHP?
>>
>> --
>> Anders
>>
>>
>>
>> On 9/20/12 10:27 AM, BEVERLY VOTH wrote:
>>> depending on the version, maybe the new URL method (passing the script and parameters and variables) would suffice?
>>> 	<http://www.filemaker.com/12help/html/sharing_data.16.7.html>
>>>
>>> Beverly
>>>
>>> On 20 Sep 2012, at 9:15 AM, Malcolm Fitzgerald wrote:
>>>
>>>> I'll try it. I seem to remember talk on this list that said that setFMGlobal wasn't reliable but it's worth a go.
>>>>
>>>> The alternative, which is relatively easy in this case, is to use FM API for this task, as it allows you to pass a parameter with the performScriptCommand.
>>>>
>>>> Malcolm
>>>>
>>>>
>>>> On 20/09/2012, at 10:34 PM, BEVERLY VOTH wrote:
>>>>
>>>>> Hey, Malcolm! what about using this, too?
>>>>> ====
>>>>> SetFMGlobal ($globalFieldName, $globalFieldValue)
>>>>> This function is FileMaker 7 specific and is equivalent to appending ".global" to a field name in order to set a global field. In order to ensure that a global is set in FIleMaker 7 (before performing a script, for example), use this function instead of AddDBParam() to set the global field.
>>>>>>> The $globalFieldName parameter should contain the name of the FileMaker global field to be set.
>>>>>>> The value passed via $globalFieldValue will be stored in the specified global field before other FileMaker actions are performed.
>>>>> ====
>>>>>
>>>>> I'm sure "7" means .fp7 and .fmp12. :)
>>>>> Beverly
>>>>>
>>>>> On 20 Sep 2012, at 2:08 AM, Malcolm Fitzgerald wrote:
>>>>>
>>>>>> I can see that PerformFMScript takes only one parameter which is the script name.
>>>>>>
>>>>>> I want to be able to change user passwords. That requires the old password and the new password. What is the best method to pass parameters from the web to the script?
>>>>>>
>>>>>> Malcolm_______________________________________________
>>>>>> FX.php_List mailing list
>>>>>> FX.php_List at mail.iviking.org
>>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>>> _______________________________________________
>>>>> FX.php_List mailing list
>>>>> FX.php_List at mail.iviking.org
>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>> _______________________________________________
>>>> FX.php_List mailing list
>>>> FX.php_List at mail.iviking.org
>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>
>>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>



More information about the FX.php_List mailing list