Hi, I currently have a piece of jquery/js code that runs every few seconds (5) a GET request, looking for new data that might of come in.
Is there some way I could get PHP to "push" or signal to the javascript code when new posts are available, rather then checking every few seconds if anything new came in?
Another example: I'm resizing an image for a user. I'd like to display real-time data to the user about the process going on - to display messages like "Uploading to the server", "Resizing your image", "Storing image".
Any help on something like this?