[FX.php List] Feature Request

Chris Hansen chris at iViking.org
Tue May 31 15:36:44 MDT 2005


The new functionality won't work exactly as Gjermund suggested.  As I 
said, this was already in the works, so I had my own ideas on how to 
implement it.  The way that I think that this would most often be 
implemented would be as an _optional_ fourth parameter when creating an 
FX object, like this:

$myQuery = new FX('192.168.1.9', 80, 'FMPro7', false);

That last 'false' says, in essence, "we won't be using that last layer 
of the array."  How does that sound to everyone?  I should note that 
'true' (unquoted) is the default value, both for legacy purposes, and 
because of how FileMaker works.  Of course if people really want to, 
they can change this by tweaking FX.php.

Best,

--Chris Hansen
   creator of FX.php
   "The best way from FileMaker to the Web."
   www.iViking.org

On May 31, 2005, at 7:50 AM, Michael Layne wrote:

> Not exactly sure how it will work based on example below, but that 
> would be GREAT.  On occasion, I have a solution with both MySQL and 
> FM7SA, and when doing any PHP OTHER than FM, you of course don't use 
> the "[0]".  would be one less thing to keep up with.
>
> Thanks!  Hopefully it will be clear how to add the 
> parameter/functionality.
>
> Michael
>
>
> On May 31, 2005, at 2:58 AM, Chris Hansen wrote:
>
>> Yep, this was already in the works.  The default behavior is still 
>> the same, but can be changed via an optional fourth parameter of the 
>> FX constructor function, or via a new function added for the purpose. 
>>  If anyone has thoughts or suggestions about this, let me know.  
>> Thanks!
>>
>> --Chris Hansen
>>   creator of FX.php
>>   "The best way from FileMaker to the Web."
>>   www.iViking.org
>>
>> On May 30, 2005, at 7:45 AM, Gjermund Gusland Thorsen wrote:
>>
>>
>>> $omptimizeLiveWithoutRepetitions = True; //False;
>>>
>>> To avoid the [0] on $value[0]
>>>
>>> [0] is only 3 characters, but multiplied with number of fields and 
>>> foundCount,
>>> this is alot of redundant RAM usage on a server with some traffic.
>>>
>>> Gjermund
>>> _______________________________________________
>>> 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