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
Hello,
let's assume a PHP program that allows users to enter a web page address. After
the address is entered, the program would fetch the page in question and
replace all the occurrences of the word "llama" with the word "alpaca". It
would then provide the modified HTML code in a safe fashion
Does anyone know of an easy way to store html code in a mysql database, and
then retreive it, in such a way that it can display the page as if it were a
standard html page? Would using php be of benefit to me?
Steve Osborne
[EMAIL PROTECTED]
*
*(borrowed from Paul)
--
PHP General Mailing Li
9 matches
Mail list logo