xmlspecialchars
| From: | Richard Lynch | Date: | Tue, 27 Dec 2005 21:00:53 +0000 |
| Subject: | xmlspecialchars | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-227902@lists.php.net to get a copy of this message | ||
I'm creating some XML data, but not using any of the built-in PHP XML
functions, as they are not necessarily available on all servers.
I need to encode Data (CDATA) such as URLs etc.
htmlspecialchars() works on all my test cases so far, but is it
"right"?...
Please cc: me on replies -- I'm way behind on PHP General reading... :-(
--
Like Music?
http://l-i-e.com/artists.htm