|
|
||
Php - Encodeur HTMLEncoder de l'Html en texteFaites un copier coller du code ci-dessous et lancez le dans votre navigateur (2 fichiers: un formulaire en html et un autre fichier en php).Si vous souhaitez voir le résultat en démo (selon nous une bonne méthode d'apprentissage) cliquez ici (nouvelle fenêtre).
Let's first start building an online form in order to input the html text we wish to encode:
Now comes the function to retrieve the content of the form and encode it (encodehtml.php): If you plan on decoding the string then simply use the html_entity_decode() function (www.php.net/html_entity_decode) CommentairesAucun commentaire, poster un commentaire |
|
Catégories |