Barre de progression PHP : Demonstration
"; echo "document.getElementById('conteneur').style.display = \"block\";"; echo ""; ob_flush(); flush(); ob_flush(); flush(); $x = 1000; for( $i=0 ; $i < $x ; $i++ ) { $indice = round(( ($i+1)*100 ) / $x); progression($indice); /* Placez ici le code tres tres long a executer … */ /* Exemple : */ for( $j = 0 ; $j < 1000 ; $j++ ) echo "."; echo '