[FX.php List] Any body ever use pyfilemaker?
Troy Meyers
tcmeyers at troymeyers.com
Thu Jan 19 07:14:22 MST 2012
Dale,
Way back to this... how would you (can you?) pass arguments in for the PHP file to work on, from the command line? I tried $_SERVER['QUERY_STRING'] and the like with no luck.
-Troy
> 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
More information about the FX.php_List
mailing list