Shaare your links...
3224 links
L!NKS
Retour au blog
Login
RSS Feed
ATOM Feed
Tag cloud
Picture wall
Daily
Links per page:
20
50
100
page 1 / 1
La tamporisation de sortie en PHP
ob_start();
//qqch...
$contents = ob_get_contents();
ob_en_flush() ;// ou ob_end_clean()
//et puis après on peut aller chatouiller le contenu du buffer avec str_replace:
$buffer = str_replace("mot_censure", "mot correct", $buffer);
echo $buffer;
Perso je l'ai utilisé pour modifier <title> dans un header html comme ici :
https://stackoverflow.com/questions/13009227/php-how-to-change-title-of-the-page-after-including-header-php
permalink
-
-
http://fr.openclassrooms.com/informatique/cours/la-tamporisation-de-sortie-en-php
php
Links per page:
20
50
100
page 1 / 1