note 2635 modified in function.htmlspecialchars by irc-html

From: Date: Tue, 22 Jan 2002 23:03:40 +0000
Subject: note 2635 modified in function.htmlspecialchars by irc-html
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-25708@lists.php.net to get a copy of this message
to convert a document back from this, do string replacements in this order: > > < < " " & & Doing the last phase first will reveal erroneous results.. For example: '<' => specialchars() => '&lt;' '&lt;' => convert ampersands => '<' => convert everything else => '<' --was-- <pre> to convert a document back from this, do string replacements in this order: > > < < " " & & Doing the last phase first will reveal erroneous results.. For example: '<' => specialchars() => '&lt;' '&lt;' => convert ampersands => '<' => convert everything else => '<' </pre> http://www.php.net/manual/en/function.htmlspecialchars.php

« previous php.notes (#25708) next »