[PHP] Re: htmlspecialchars... or...?

2004-02-18 Thread Justin Patrin
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... htmlspecialch

[PHP] Re: htmlspecialchars

2003-01-14 Thread Foong
Thank you guys Foong Foong <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > I wonder which is the better way to store data into database? > 1. stor the data after we call htmlspecialchars with the data (means we > store " as "e; in database) > 2. stor the

Re: [PHP] Re: htmlspecialchars() or htmlentities withoutdestroying tags?

2003-01-07 Thread Justin French
Thanks, I'll give it a whrrrl :) Justin on 08/01/03 4:05 PM, Greg Beaver ([EMAIL PROTECTED]) wrote: > Hi Justin, > > You have to specify the list of tags you want preserved in an array, but > this function from phpDocumentor will do it: > > /** > * smart htmlentities, doesn't entity the al

RE: [PHP] Re: htmlspecialchars() or htmlentities without destroying tags?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
Is that going to take care of Nested Tags?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Greg Beaver [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2003 3:06 PM > To: [EMAIL PROTECTED] > Su

[PHP] Re: htmlspecialchars() or htmlentities without destroying tags?

2003-01-07 Thread Greg Beaver
Hi Justin, You have to specify the list of tags you want preserved in an array, but this function from phpDocumentor will do it: /** * smart htmlentities, doesn't entity the allowed tags list * Since version 1.1, this function uses htmlspecialchars instead of htmlentities, for international sup

[PHP] Re: htmlspecialchars() alias

2002-01-18 Thread Martin Wickman
Jason G. wrote: > Hello General and Dev list, > > Considering the fact that it is good practice to use htmlspecialchars() > anytime you are outputting non-html content to the browser... > > After typing the 16 characters in the htmlspecialchars() function > thousands of times... > > I was wo