PDA

View Full Version : Is this possible?



firestream
April 20th, 2008, 05:03 PM
I've got some php scripts that do some calculations on a lot of data. They take minutes to load apiece. I'd like to use flash as a "progress indicator" basically calling each script and when it finishes moving to the next.

I've tried using the xml class to load the php scripts and it always returns an error. I feel like its just a timeout issue since the php scripts don't return anything for a few minutes. What would be the best way to accomplish this?

Thanks.

dumdidlidou
April 21st, 2008, 08:40 AM
first did you check your server time out?

firestream
April 30th, 2008, 03:41 PM
Are you talking about a server timeout setting on the xml object or on the server side php?

project107
April 30th, 2008, 04:02 PM
I think PHP defaults at 300 seconds for it's timeout, but I could be wrong.

project107
April 30th, 2008, 04:12 PM
Now that I think about this some more, I don't know that you could do this, as Flash has no way of knowing the total size of the file after all of the calculations, therefor can't accurately indicate the progress of it all. I think.