[FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ?

Joel Shapiro jsfmp at earthlink.net
Thu May 31 16:13:24 MDT 2012


Thanks Anders!

Yep, that zip's from FM12 -- it's got getContainerDataURL().

getContainerDataURL() uses 
- strncasecmp & substr: both available since PHP 4)
- htmlspecialchars_decode: available since PHP 5.1.0(!) -- which is later than the specs for FM11, which was "PHP 5.0 or higher"

Oddly, though, the FM11 API also uses htmlspecialchars_decode (for the original getContainerData), which presumably wouldn't have run correctly under 5.0.

I've gotta run.  Will report back if I find anything else of interest.

-Joel


On May 31, 2012, at 2:48 PM, Anders Monsen wrote:

> Joel,
> 
> I have not compared the two files. I installed FMS12 on a dev machine after removing all pieces of FMS11, though I may still have the old API files in an include folder and can try to compare, or I'll see if I can get you the zip file.
> 
> Anders
> 
> On 5/31/12 4:40 PM, Joel Shapiro wrote:
>> Hi Anders
>> 
>> Any chance you've had a chance to look at that new function (getContainerDataURL) to see if it uses anything that was only added or fixed in 5.3.6?
>> 
>> I haven't installed FMS12 yet so can't look at the PHP files.  (Anybody care to share a zip of the FM12 "standalone" for me to look through? ;)
>> 
>> Thanks,
>> -Joel
>> 
>> 
>> On May 31, 2012, at 2:21 PM, Anders Monsen wrote:
>> 
>>> There is at least one new function dealing with the new container behavior.
>>> 
>>> Anders
>>> 
>>> On 5/29/12 11:32 AM, Joel Shapiro wrote:
>>>> Thanks Steve!
>>>> 
>>>> (I can't imagine that the PHP version on that Windows machine makes a difference...)
>>>> 
>>>> I've read that they updated the API to no longer have all the deprecated code (e.g. "Assigning the return value of new by reference"), but I'd be surprised if FMI added any brand-new PHP functions.
>>>> 
>>>> Anybody else?
>>>> 
>>>> Thanks,
>>>> -Joel
>>>> 
>>>> 
>>>> On May 29, 2012, at 9:24 AM, Steve Winter wrote:
>>>> 
>>>>> Hi Joel
>>>>> 
>>>>> I've got an FM-based web app which is running on a Linux server, accessing a Windows based FMS, so the actual API code is on the Linux box - that's running PHP 5.2.17 no problem - not sure what version of PHP is on that Windows box as I have no access to it (at that level ;-)
>>>>> 
>>>>> That's the only real FM12 stuff I've got up as yet - couple of others looking like they're going there shortly…
>>>>> 
>>>>> Cheers
>>>>> Steve
>>>>> 
>>>>>> Hi all
>>>>>> 
>>>>>> Is anybody here running FMS12 w/ the API?
>>>>>> 
>>>>>> FM12 specs say that "Windows users need PHP 5.3.8 and Mac users need PHP 5.3.6" but I'm wondering if that's really true.  Is anyone running the FM12 API w/ a lower version of PHP?
>>>>>> http://www.filemaker.com/products/filemaker-server/server-12-specifications.html
>>>>>> 
>>>>>> (FM11 specs say you just need "PHP 5.0 or higher"):
>>>>>> http://help.filemaker.com/app/answers/detail/a_id/7638/
>>>>>> 
>>>>>> Any real-world experience?
>>>>>> 
>>>>>> FWIW: I've asked this elsewhere but haven't gotten a response.
>>>>>> 
>>>>>> TIA,
>>>>>> -Joel
>>>>>> 
>>>>>> ~~~~~~~~~~~~~~~~~~~~~
>>>>>> Joel Shapiro
>>>>>> FileMaker Pro
>>>>>> : database design
>>>>>> : web development
>>>>>> http://jsfmp.com
>>>>>> 415-269-5055
>>>>>> ~~~~~~~~~~~~~~~~~~~~~
>>>>>> 
>>>>>> _______________________________________________
>>>>>> FX.php_List mailing list
>>>>>> FX.php_List at mail.iviking.org
>>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>>> Steve Winter
>>>>> +44 777 852 4776
>>>>> steve at bluecrocodile.co.nz
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> 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