Home
Accueil
Downloads
Téléchargements
Forums
Forums
Your Account
Votre compte
Menu
· Accueil ·

· Communication ·
  · Forums
  · Messages privés
  · Contactez nous
  · Recommendez nous
  · Sondages
  · Les projets

· Nouvelles ·Stats
  · Sujets
  · Ecrire un article
  · Articles archivés
  · Articles RSS
  · Lettre de sécurité
  · Archive de lettres

· Téléchargements ·
  · Accueil
  · Nouveautés
  · Mises à jour
  · Thêmes

· Outils ·
  · Outils divers
  · Convertisseur de temps
  · Table de caractères
  · Générateur de boutons
  · Compresseur Javascript

· Documentation ·
  · Wiki
  · Questions/Réponses
  · Documents
  · Manuel PHP-Nuke
  · Manuel PHP
  · Manuel PEAR
  · Encyclopédies

· Liens ·
  · Nos liens
  · Nos fluxs RSS
  · Partenaires
  · Votre publicité
  · Sitemap
  · Mes bannières

· Infos ·
  · Rechercher
  · Votre compte
  · Liste des membres
  · Carte des membres
  · Top

· Divers ·
  · Météo
  · Galeries
  · Statistiques Phpnuke
  · MS Analysis


ob_get_flush

ob_get_flush

(PHP 4 >= 4.3.0, PHP 5)

ob_get_flush --  Vide le tampon, le retourne en tant que chaîne et stoppe la tamporisation

Description

string ob_get_flush ( void )

ob_get_flush() vide le tampon, le retourne en tant que chaîne et stoppe la tamporisation. ob_get_flush() retourne FALSE si la tamporisation n'est pas active.

Note : ob_get_flush() est similaire à ob_end_flush(), sauf que cette fonction retourne le tampon en tant que chaîne.

Exemple 1. Exemple avec ob_get_flush()

<?php
// avec output_buffering=On
print_r(ob_list_handlers());

// sauvegarde le tampon dans un fichier
$buffer = ob_get_flush();
file_put_contents('buffer.txt', $buffer);

print_r(ob_list_handlers());
?>

L'exemple ci-dessus va afficher :

Array
(
    [0] => default output handler
)
Array
(
)

Voir aussi ob_end_clean(), ob_end_flush() et ob_list_handlers().


Manuel PHP pour PHP-Nuke © www.stefvar.com

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 644

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 644

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355
Syndiquez notre contenu RSS, Atom, etc..
PHP-Nuke © 2007Reproduction interdite sans autorisation de ma part www.stefvar.com Copyright © 2008Thème iCGstation
Site français de la communauté PragmaMx