|
|||||||||||||||
|
|
LXXXI. Output Control FunctionsIntroduzioneThe Output Control functions allow you to control when output is sent from the script. This can be useful in several different situations, especially if you need to send headers to the browser after your script has began outputting data. The Output Control functions do not affect headers sent using header() or setcookie(), only functions such as echo() and data between blocks of PHP code. RequisitiNon sono necessarie librerie esterne per utilizzare questo modulo. InstallazioneNon è necessaria nessuna installazione per usare queste funzioni, esse fanno parte del core di PHP. Configurazione di RuntimeIl comportamento di queste funzioni è influenzato dalle impostazioni di php.ini.
Tabella 1. Output Control configuration options
Breve descrizione dei parametri di configurazione.
Tipi di risorseQuesta estensione non definisce alcun tipo di risorsa. Costanti predefiniteQuesta estensione non definisce alcuna costante. Esempi
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 setcookie() successfully stored a cookie without causing an error. (You can not normally send headers to the browser after data has already been sent.)
Vedere ancheSee also header() and setcookie().
| ||||||||||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "Manuale PHP". See Index Page for more info about Authorship and Copyright. 1999-2009 Linuxinfor.com. No rights reserved. |