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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.