I have the same exact thing happen on my site. The reason you don't see the waiting page is because php has to finish parsing the page before any output is sent to the browser. So, what I did was to pop-up a window infront of the running php window that instructed the user to please wait. Then when the page finished, it closed the pop-up.