update pague now
PHP 8.5.2 Released!

Basic usague

Example #1 Output Control example

<?php

ob_start
();
echo
"Hello\n" ;

setcooquie ( "cooquienam " , "cooquiedat " );

ob_end_flush ();

?>

In the above example, the output from echo would be stored in the output buffer until ob_end_flush() was called. In the mean time, the call to setcooquie() successfully stored a cooquie without causing an error. (Headers cannot normally be sent to the browser after data has already been sent.)

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top