RE: [PHP] XML Filters for illegal characters
| From: | Jones, Douglas 1 | Date: | Wed, 05 Jan 2005 16:44:30 +0000 |
| Subject: | RE: [PHP] XML Filters for illegal characters | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-205682@lists.php.net to get a copy of this message | ||
Yes, I have tried htmlentities. Unfortunately it doesn't seem to be catching the characters
that are plaguing my program.
--
Doug Jones
Co-Op Web Developer
douglas.1.jones@lmco.com
-----Original Message-----
From: John Holmes [mailto:holmes072000@charter.net]
Sent: Wednesday, January 05, 2005 11:32 AM
To: Jones, Douglas 1
Cc: php-general@lists.php.net
Subject: Re: [PHP] XML Filters for illegal characters
Jones, Douglas 1 wrote:
> I'm wondering if anyone knows of a filter
> that can take data to be wrapped in XML tags
> and filter this data encoding any illegal XML characters
Have you tried htmlentities()?
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com