[FX.php List] Script Finish after page load

John Funk jfunk at criticalsolution.com
Wed Nov 4 15:35:31 MST 2009


I would have the FM script write data to a field when it is done and have
PHP loop after the FM Script call to see if that field is populated, if so
the script is done. Seems like it would work.
John Funk


On 11/4/09 8:23 AM, "william.downs" <william.downs at gmail.com> wrote:

> Hi guys,
> 
> A question - which has probably been answered before (if so, please
> excuse me)
> It concernes both FX.php and FM API
> 
> I have a button on a page - when clicked it runs a Filemaker script
> on the current record (works fine). At the bottom of the page I use
> location (header : detail.php) to redirect the user back to the page.
> 
> When the server is under a heavy load - if may take a few seconds for
> the script to run (in Filemaker client it needs 2 seconds roughly)
> Which means - if a user clicks the button, they may not see the
> results they expect to see - and may need to refresh the page (again)
> 
> Does the rest of the php script pause until the Filemaker script has
> finished running ? Is there a way to say (pause the php script UNTIL
> the Filemaker script has happily run ?
> 
> Kindest Regards
> 
> William
> _______________________________________________
> 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