Jump to content

Ini_Set And Output_Buffering


3skimo

Recommended Posts

I'm having trouble trying to use "ini_set" to enable "output_buffering" so one of my PHP scripts can actively flush output to the screen, rather than having my users sit there for 30 seconds wondering why nothing has loaded after activating the script.

 

Are we allowed to alter "output_buffering" with "ini_set" or has this been disabled?

Link to comment
Share on other sites

Ah HA!! I figured it out on my own. Below is a link to a simple counter that is very similar to what I was trying to do, and a link to a txt file with the code in it.

 

Example: http://emac.heliohos...buffer_test.php

Code: http://emac.heliohos...buffer_test.txt

 

I'll leave this here for anyone else who happens to have this same problem and searches the forums for a solution. It's funny how you can overlook something so minuscule and then spend HOURS trying to get the stupid script to work.

Link to comment
Share on other sites

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.   Paste as plain text instead

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