Code blocking output

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Using AJAX (or simple JavaScript even) you could at least write to the browser some type of communication until the PHP request was complete. At least I think you can. My tought on this is that since PHP is doing something on the server that appears to be taking some amount of time to complete, that in the interim, you can check that PHP script and if there is not echo activity, use a client side technology to echo out a status.

Of course I could be way off on this.
Post Reply