Re: htmlspecialchars... or...?

From: Date: Wed, 18 Feb 2004 22:07:10 +0000
Subject: Re: htmlspecialchars... or...?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-178183@lists.php.net to get a copy of this message
Tristan Pretty wrote:
Hi all... I've having problems submitting information to salesforce.com... I have a system set up that allows my users here in the office, to send individual leads, to salesforce... However, if the users details contain characters such as... Ù ë ý Ñ Ã etc... htmlspecialchars only does & " < > (From what I understand...) Does anyone know how to turn the other characters into a format, I can submit to salesforce, without it being rejected... (the problem, in a little more detail... I have about 15 fields I'm submitting... It processes the first on, then the second etc. but as soon as it hits a field with the characters mentions above, it simply sends blank data to salesforce for the remaining fields, so I'm left with a half completed record??? I'm presuming that this fix, will solve it... Once I figure out what this fix is... ;-) ) Tris...
You can try htmlentities(). It will do pretty much all HTML entities, including international chars. -- -- paperCrane <Justin Patrin>

« previous php.general (#178183) next »