Bonjour,
J'ai un soucis avec la fonction htmlentities(); pour sécuriser mes formulaire.
Je suis sous easy php et quand tu fait :
Chez moi sa affiche : Un 'apostrophe' en <strong>gras</strong>Un 'apostrophe' en <strong>gras</strong>
au lieu de : Un 'apostrophe' en <strong>gras</strong>Un 'apostrophe' en <strong>gras</strong>
Bizare avant sa me le faisait pas mais j'ai du zapper un truc la
J'ai un soucis avec la fonction htmlentities(); pour sécuriser mes formulaire.
Je suis sous easy php et quand tu fait :
<?php
$str = 'Un \'apostrophe\' en <strong>gras</strong>';
echo htmlentities($str);
echo htmlentities($str, ENT_QUOTES);
?>
Chez moi sa affiche : Un 'apostrophe' en <strong>gras</strong>Un 'apostrophe' en <strong>gras</strong>
au lieu de : Un 'apostrophe' en <strong>gras</strong>Un 'apostrophe' en <strong>gras</strong>
Bizare avant sa me le faisait pas mais j'ai du zapper un truc la

