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. Link to comment https://forums.phpfreaks.com/topic/8000-live-output/ 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. Link to comment https://forums.phpfreaks.com/topic/8000-live-output/#findComment-29183 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.