this is a problem with the magic_quotes_gpc directive being enabled in the php.ini file.
you should contact the hsot to have this setting disabled, in the mean time, i added code at line 1 to disable it at run time. see the php.net manual page for more details:
http://php.net/manual/en/security.magicquotes.disabling.php