By Joel Shapiro
Monday July 24, 3:30–5:30 (before the 6pm opening keynote).
Steve Winter @steveWinterNZ
Mark DeNyse @mdenyse
Ken d’Oronzio @kdoronzio
Gjermund Thorsen ggt667
Joel Shapiro @jsfmp
Hope to see you there!
XML error: No memory at line 1
Greetings, this error occurred when the Filemaker API cannot generate a bunch of records. (1000+ records and above)
I've adjusted the time out settings for PHP even the memory limits.
Is there any possible solution for this?
According to some information, the error turns out that the 10 MB XML scripts is unchangeable.
By Ken d'Oronzio
FREE fmREST.php – Simplifies & manages PHP connections to FileMaker 16’s REST-based Data API.
The newly released FileMaker Server 16 now offers REST access to your FileMaker databases. There’s more about that how this impacts PHP developers here.
The bottom line is that to use REST as part of your PHP solution, you would usually need to write a series of cURL functions and you would have to manually manage connecting & disconnecting from your server, and saving your tokens.
This is a pain!
We know it’s a pain, because we have spent the last several weeks rolling REST functionality into soSIMPLE Calendar.
We created this class file to make it easier to manage dynamic REST sessions for soSIMPLE and our custom development. The goal of the class file was to help PHP developers start using the new REST engine as quickly and easily as possible.
We’ll also be updating it with new features. If you’d like to add something to it, please let us know.
What fmREST.php does:
Makes every REST call available as a PHP function. Automatically login into FileMaker Server whenever you call any REST functions Saves your token for 15 minutes to reuse Checks for a broken or disconnected token and automatically reconnects and runs your function again Where do I get it?
You can download the fmREST class file here.
By Joel Shapiro
Come join us at the 11th annual CWP User Group at DevCon: Monday, July 24, 3:30–5:30pm (before the 6pm opening keynote).
Do you have something you might like to share with the group? Please let me know. We're always looking for new people!
Everyone's welcome. Hope to see you there!
: database design
: web development
I have a php script that takes two PDF files and merges them into one file. I am using this in conjunction with the insert from URL script step.
The way the script works is it takes two PDFs in container fields and base64encode each files. Then, those two base 64 strings are POSTed via insert from URL.
I've tested the script forwards and backwards and it does combine the PDF files reliably. The issue is when posting from FileMaker. What typically happens is the first page is combined twice and that's my resultant PDF.
My php script checks that both inputs are different and throws an error is they are identical. I don't get any errors there.
Is there a way to POST a file from insert from URL?