Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Exemple d’utilisation de ‘htmlspecialchars()’


{filelink=12635}


<?php
/*
&&  devient &amp;amp
""  devient &amp;quot
<   devient &amp;lt;
>   devient &amp;gt
*/
$chaineOri = "<<test>> &amp; !";
$chaineConv = htmlspecialchars($chaineOri);
print $chaineConv;
?>

No comments yet.

Leave a Comment