[FX.php List] 5 minute timeout?

Erik Andreas Cayré erik at cayre.dk
Tue Aug 29 15:00:40 MDT 2006


Den 29/08/2006 kl. 17.12 skrev David Ness:

> My fx.PHP solution has a feature where the user can 'batch upload'  
> data
> to a FileMaker table using a properly formatted csv file. I've got
> everything working great, except I can't get the page to stop  
> timing out
> after 5 minutes. I get about 320 records posted (of a test set of  
> 1000),
> then the script stops,...

It's obvious (?) your script is slow because the XML interface in FM  
is not really geared  for the kind of use your are attempting.
Instead of coercing the server to tolerate long-running scripts, you  
may consider alternative approaches.

How about having FM do the work by itself?
Ideas off the top of my head:
-put the file where FM can get to it, and import using a script in FM  
(may only work with FMU?)
-put the contents of the file in a single FM field, and run an FM  
Script to create the records from the contents of this field
-POST the whole file to a layout with a portal, creating all records  
through the portal (is this even possible?)

OK, these are *not* tried and true solutions, just my imagination  
running wild.

Anyone care to elaborate?


---
Erik Andreas Cayré
Spangsbjerg Møllevej 169
DK-6705 Esbjerg Ø

Home Tel: +45 75150512
Mobile: +45 40161183

»If you can't explain it simply, you don't understand it well enough.«
-- Albert Einstein

»If you don't have time to do it right, when will you have time to do  
it over?«
-- John Wooden, basketball coach


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1856 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20060829/5102e1ef/smime.bin


More information about the FX.php_List mailing list