/    Sign up×
Community /Pin to ProfileBookmark

PHP equivalent for ASP statement

What is the PHP equivalent for an ASP [b]Response.Flush[/b] statement?

Basically, ASP allows the HTTP response back to the client to be buffered. There are several reasons to do this, but this also allows the ASP code to later decide to either start over, by clearing the buffer (via [b]Response.Clear[/b]), or to explicitly send the accumulated content of the buffer before the ASP code actually ends executing. That is what the above statement does.

Can the equivalent be done in PHP?

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@phpnoviceauthorMar 01.2005 — Cheers.
Copy linkTweet thisAlerts:
@NogDogMar 01.2005 — Haven't had reason to use it yet, so can't vouch for how easy to use or how well it works, just remember stumbling across those functions while looking for something else. ?
×

Success!

Help @phpnovice spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...