php Flushing output

 

Flushing output

void flush ( void )

There is a special function in PHP called flush(), which is not really related to output buffering because it works with standard output, however it is so very similar to what we’ve just been looking at that it makes sense to cover it here.

Flush() sends all output out immediately, without waiting for the end of the script, and you can call it as often as you want. Calling flush() has the effect of making the browser update with new content. Take a look at this example script:

Author’s Note: Internet Explorer has an “optimisation” that makes it only render a page after it has received the first 256 bytes whether or not you use flush() – you might find these example scripts do not work as described in IE. That is not to say the concept is wrong – merely that there is not enough room here to demonstrate a longer example! To make the scripts work, make them output at least 256 characters before the first call flush() – in your own scripts, this will not be a problem. Continue reading “php Flushing output”

TinyMCE: Configuration/valid elements

 

Option: valid_elements

The valid_elements option defines which elements will remain in the edited text when the editor saves. You can use this to limit the returned HTML to a subset.

This option contains a comma separated list of element conversion chunks. Each chunk contains information about how one element and its attributes should be treated. The default rule set for this option is specified below. Continue reading “TinyMCE: Configuration/valid elements”

Video Tutorials: vSphere 4 Unleashed (Part 1-6)

I’ve just published a new video for ESX 4.0 installation on a Dell blade if you want to have a fast and quick scan of the installation process. This is a series of vS4 video’s I’m planning to produce very soon.

http://www.hypervizor.com/2009/04/video-vsphere4-unleashed-01-installing-esx4/

I hope you will find it useful.

Regards,

Updates:
Part1: Installing ESX4.0
Part2: Installing vCenter4.0 will all its components
Part3: Licensing & Configuring vCenter
Part4: Fault Tolerance
Part5: Hot-Add and Thin-Provisioning
Part6: Storage vMotion