ringartdesign Posted October 2, 2008 Share Posted October 2, 2008 I have a form that takes about 5-10 seconds on average to process the php math and return the math answer. The form and php math work perfectly, but while the php math is being processed, the page goes blank for the 5-10 seconds and then starts loading the page design and math solution. I was wondering if there is a way to program this so that there is an intermediate page, kinda like the way airline ticket price searches use, telling the user that their information is being processed and to hold on? Link to comment https://forums.phpfreaks.com/topic/126794-form-math-processing-intermediate-page/ Share on other sites More sharing options...
genericnumber1 Posted October 2, 2008 Share Posted October 2, 2008 Try echoing something, do flush(), do the processing, and then echo a javascript redirect... There are other ways I would do it (eg. ajax or pass it to a different process to do the calculating) but they're more complicated. Link to comment https://forums.phpfreaks.com/topic/126794-form-math-processing-intermediate-page/#findComment-655838 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.