judeddokoinu Posted April 20, 2006 Share Posted April 20, 2006 I've got a script that scrapes a webpage into a variable, and then loops through the content, echoing each line, but it doesn't show anything on the webpage until it is completed with the loop. Is there a way to show the content *as* it is processed? I'd like to get the content to the user faster. Quote Link to comment Share on other sites More sharing options...
michaellunsford Posted April 20, 2006 Share Posted April 20, 2006 PHP typically doesn't output anything until the entire page has finished what it is doing. If you're always accessing the same content, you could try caching it every so often. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.