[FX.php List] Any body ever use pyfilemaker?

Dale Bengston dale.bengston at gmail.com
Thu Jan 12 19:10:36 MST 2012


John, it's been a long time, but you handle including FX.php in the same way you would in php from the web. Here's a very-simple example: Create a php script called my_test.php. In it, put this:

<?php
echo 'Hello world!';
?>

Then go to Terminal and type 

	php path/to/my_test.php

… substituting the real path to your php script. You should see Hello World! in your Terminal window. From there, you can branch out into adapting FX.php calls to run the same way. All the rules apply - includes, function calls, instantiating FX objects…. it's all the same. It's just being run separate from Apache.

Dale


On Jan 12, 2012, at 5:40 PM, John Funk wrote:

> Dale,
> I forgot to ask, where to I start? Where do I put the FX folder? Anybody else run PHP/FX from the command line?
> Thanks
> John
> 
> 
> On 1/12/12 3:34 PM, "Dale Bengston" <dale.bengston at gmail.com> wrote:
> 
>> Nope. PHP is just another application on your computer, and you can access it from the command line independent of Apache or the www user. That means you can access files and folders outside of your web server root as well. And no permissions headaches!
>> 
>> Dale
>> 
>> On Jan 12, 2012, at 1:32 PM, John Funk wrote:
>> 
>>> Re: [FX.php List] Any body ever use pyfilemaker? 
>>> Thanks, Dale but don’t I need a web server  to host the scripts for FX?. 
>>> John
>>> 
>>> 
>>> On 1/12/12 10:58 AM, "Dale Bengston" <dale.bengston at gmail.com <x-msg://274/dale.bengston@gmail.com> > wrote:
>>> 
>>>> Hi John,
>>>> 
>>>> Do you know PHP? You can run PHP scripts (including FX.php calls) from the command line to get data in and out of FileMaker.
>>>> 
>>>> Hope this helps,
>>>> Dale
>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Dale Bengston
>>>> Streamline Studio, LLC
>>>> www.streamline-studio.com <http://www.streamline-studio.com>  <http://www.streamline-studio.com <http://www.streamline-studio.com/> > 
>>>> 
>>>> On Jan 12, 2012, at 9:06 AM, John Funk wrote:
>>>> 
>>>>> Any body ever use pyfilemaker? 
>>>>> My client is looking for command line access to FileMaker data in batch modes in and out. I found the page below...
>>>>> It seems this will work. It is similar to FX in as far as it uses the XML result method, but no web server needed. 
>>>>> I am not a Python guy so how easy it it to learn?
>>>>> 
>>>>> http://code.google.com/p/pyfilemaker/
>>>>> 
>>>>> Thanks,
>>>>> John 
>>>>> _______________________________________________
>>>>> FX.php_List mailing list
>>>>> FX.php_List at mail.iviking.org <x-msg://274/FX.php_List@mail.iviking.org> 
>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>> 
>>>> 
>>>> _______________________________________________
>>>> FX.php_List mailing list
>>>> FX.php_List at mail.iviking.org <x-msg://274/FX.php_List@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
> 
> Critical Solution
> Business and Workflow
> Database Consulting
> ph: 612-819-5168
> P please don't print this e-mail unless you really need to.
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120112/4c29ff79/attachment.html


More information about the FX.php_List mailing list