Jump to content

flush(); ob_flush();


ShivaGupta
Go to solution Solved by jazzman1,

Recommended Posts

Define "not working".

i have a curl script that take much time to collect informaition to many sites n i use above code to get buffiring output

but not get any live output on godaddy hosting.n after some time page show timeout.

 

 

after that i use this

ob_implicit_flush(true);
echo "<span style='width:8px; background:blue'></span>";
    for($k = 0; $k < 40000; $k++)
     echo ' '; // extra spaces to fill up browser buffer

n buffiring working but after some miniuts have this error

 

 

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

plz help me for  get liveoutput php output on the godaddy hosting.

Edited by ShivaGupta
Link to comment
Share on other sites

  • Solution

 

 

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

 

The error is self-explanatory!

 

We don't know what type of data you want to be shown on the browser, you should tell us ;)

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.