On Tue, 17 Jul 2007 17:59:01 -0500 (CDT), "Richard Lynch" wrote:
> On Tue, July 17, 2007 2:03 pm, Nisse Engström wrote:
>> On Fri, 13 Jul 2007 01:24:09 -0500 (CDT), "Richard Lynch" wrote:
>>>
>>> htmlspecialchars ONLY escapes four characters: < > & "
>>>
>>> htmlentities escapes ALL characters th
On Tue, July 17, 2007 2:03 pm, Nisse Engström wrote:
> On Fri, 13 Jul 2007 01:24:09 -0500 (CDT), "Richard Lynch" wrote:
>>
>> htmlspecialchars ONLY escapes four characters: < > & "
>>
>> htmlentities escapes ALL characters that need it
>
> What characters other than the four (or five)
> NEED escap
characters handled by htmlspecialchars. I just prefer to set the character
encoding compatible from end to end.
Satyam
- Original Message -
From: "Nisse Engström" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, July 17, 2007 9:03 PM
Subject: Re: [PHP] Displaying HTML ch
On Fri, 13 Jul 2007 01:24:09 -0500 (CDT), "Richard Lynch" wrote:
>
> htmlspecialchars ONLY escapes four characters: < > & "
>
> htmlentities escapes ALL characters that need it
What characters other than the four (or five)
NEED escaping, and why?
/Nisse
--
PHP General Mailing List (http://ww
On Thu, July 12, 2007 12:37 pm, Don Don wrote:
> Am kind of confused between htmlspecialchars and htmlentities. I've
> got data i need to display data on a page containing e.g. " but
> will like it to be displayed as "
>
> htmlspecialchars or htmlentities or page character set ?
htmlspecialchars
Don Don wrote:
Hi all,
Am kind of confused between htmlspecialchars and htmlentities. I've got data i need to
display data on a page containing e.g. " but will like it to be displayed as
"
htmlspecialchars or htmlentities or page character set ?
Cheers
---
Hi all,
Am kind of confused between htmlspecialchars and htmlentities. I've got data i
need to display data on a page containing e.g. " but will like it to be
displayed as "
htmlspecialchars or htmlentities or page character set ?
Cheers
-
Take the I
7 matches
Mail list logo