Merci bcp ca marche :)
Et encore mieux avec ob_implicit_flush()
appelé en début de script
<H1>FLUSH TEST<BR>QUI MARCHE :)</H1>
<?
ob_implicit_flush() ;
$COUNT = 9;
while ($COUNT > 0)
{
echo $COUNT;
sleep(1);
$COUNT --;
}
echo " 0 : GOAL :)";
?>
@++ JC
Francois Deppierraz wrote :
>> Bref, the question : Est-ce qu'il y a un moyen pour dire à
>> PHP d'afficher petit à petit ce qu'il a parsé au lieu de tout
>> d'un coup à la fin de l'execution du script PHP ? Est-ce
>> déjà techniquement possible ?
>La fonction flush() permet ceci.
>cf http://www.php.net/manual/en/function.flush.php
- PHP vs NPH Jean-Claude Schopfer
- Re: PHP vs NPH Marc SCHAEFER
- Re: PHP vs NPH Francois Deppierraz
- Re: PHP vs NPH Denis BUCHER
- Jean-Claude Schopfer