简体   繁体   English

从Filemaker脚本执行PHP

[英]Execute PHP from Filemaker Script

How do I run a PHP script on my apache server from a FileMaker script? 如何通过FileMaker脚本在apache服务器上运行PHP脚本? I've tried Open URL & Insert From URL and neither works. 我已经尝试过“ Open URL和“ Insert From URL ,但都没有用。

Insert from URL absolutely works, just make sure you have the correct URL. 从URL插入绝对有效,只需确保您具有正确的URL。 You can also use a web viewer to initiate the script as well. 您也可以使用Web查看器来启动脚本。 You can inspect the contents of the web viewer or look at the field you pointed to with your Insert from URL script step. 您可以检查Web查看器的内容,也可以查看从URL插入脚本步骤指向的字段。

One point to using the Insert from URL step, make sure the target field is on the layout when this step is called. 使用“从URL插入”步骤的一点是,请确保在调用此步骤时目标字段位于布局上。

If you are on a FileMaker server , you can directly access command line . 如果您在FileMaker Server上,则可以直接访问命令行。

For executing any script , you can execute shellscript like 为了执行任何脚本,您可以像执行shellscript

php file.php

But for executing commandline scripts , you need to use some plugins like MBS . 但是对于执行命令行脚本,您需要使用MBS之类的插件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM