User Tools

Site Tools


uphp:functions:flush

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uphp:functions:flush [2017/03/17 10:18]
jeff created
uphp:functions:flush [2021/09/13 05:57]
Line 1: Line 1:
-======flush====== 
-<badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> 
- 
-Flush current output to the browser 
- 
-====Description==== 
-<well size="sm"><html><span style="font-size:125%;"></html>[[flush]] ( ) 
-</well> 
- 
-This function will send out any pending buffered data immediately 
- 
-====Parameters==== 
-None 
- 
-====Return Value==== 
-None 
- 
-====Example==== 
-<code php> 
-<? 
-print("This data will be buffered for a while..."); 
-flush(); 
-print("Buffering will start again here..."); 
-?> 
-</code> 
- 
-====Note==== 
-This function attempts to push current output all the way to the browser with a few caveats: 
-  * [[flush()]] has no effect on any client-side buffering in the browser 
-  * Results vary by browser: different browsers have different requirements for displaying anything before the end of the script or page 
-  * To overcome these browser buffering issues and obtain immediate display, you may have to send a minimum amount of data, an end-of-line (EOL) character or an html tag 
-  * See http://php.net/manual/en/function.flush.php for more insight into differences between browsers and the use of [[flush()]] 
- 
-====See Also==== 
-[[print()]] - Output data to the current output stream such as a web page or terminal 
  
uphp/functions/flush.txt · Last modified: 2021/09/13 05:57 (external edit)