Jump to content

ob_ dynamic content


Dorky

Recommended Posts

The short answer is no.

 

 

The medium answer is: Technically maybe yes with JS also.

 

 

The long answer:  Feasibly?  No.

 

 

PHP is not the only thing that controls buffering.  Apache can buffer, and the web browser can buffer.

 

Also, I would imagine most browsers don't render as HTML is received.

Link to comment
https://forums.phpfreaks.com/topic/178171-ob_-dynamic-content/#findComment-939451
Share on other sites

i did i fake loading bar just for fun using a while loop spitting out a 1px by 5px div per cycle using  relative so i know you can add html to the browser and because of the css it doesnt matter what order its in, i just think the removing of an element would be the challenge and havent worked with any ob yet so not sure of the potential for that. im just trying to spark up a convo with anyone who might think this fun. the fake loading bar was great tho. php was in the index.php and after the cycles completed it spit a 0sec meta refresh with a get to keep it from infinite looping. 

 

PHP is not the only thing that controls buffering.  Apache can buffer, and the web browser can buffer.

 

Also, I would imagine most browsers don't render as HTML is received.

Link to comment
https://forums.phpfreaks.com/topic/178171-ob_-dynamic-content/#findComment-939453
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.