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 [EMAIL PROTECTED] -----Original Message----- From: John Holmes [mailto:[EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php