Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7964423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:53:16+00:00 2026-06-04T05:53:16+00:00

I do not know if this is either a problem in PHP or APACHE,

  • 0

I do not know if this is either a problem in PHP or APACHE, but I wanted to print some of the result even if the script is still running.

What I mean is, since my for loop is a long script, i wanted to print some of the finished result on that for loop. But what happens is, it will just load the page, echoing nothing, and it will just show stuffs up when the script is done loading, all at once.

P.S. That is when using wamp… when I load the script on my website online, it would print some of the results and adds some more result until the script is finished loading.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T05:53:19+00:00Added an answer on June 4, 2026 at 5:53 am

    If you have output buffering on then add

    ini_set("implicit_flush", "1");
    

    at the beginning of your script to turn it off, this only affects the script it is in.
    If you want to turn it off far the whole site set output_buffering = Off in php.ini
    You can also do it in your .htaccess file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this was not possible in C++03, but I'm hoping there is some
I do not know if this is possible, but here goes. And working with
I know this is not programming related, but I have a scenario. Each video
I know this sort of code is not best practice, but nevertheless in certain
I know this question has been asked multiple times (however, I could still not
I am new to JQuery, I do not know Why this simple JQuery does
Obviously it's early days, I do not know whether this is information that is
I know this is not the best nor the most efficient way to find
I know this question is not a good question because it's open to a
I know this question is not really important.. however I've been wondering: Which of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.