[PHP] Show text without converting to html

2010-09-09 Thread Jack
Hello All, I have some code which converts to some html to ascii characters. This basically obfuscates the html code, but shows it correctly on an page. I am trying to show the results of the obfuscation ( works correctly because it displays the html value ), but I want to then show the

Re: [PHP] Show text without converting to html

2010-09-09 Thread Marc Guay
Which was created by the code, but I apparently can't seem to echo it and get it to display like above.. It converts it to html no matter what I do. Have you tried the pre HTML tag? (http://www.w3schools.com/TAGS/tag_pre.asp) Putting inside a textarea might also work for you... -- Marc Guay

Re: [PHP] Show text without converting to html

2010-09-09 Thread Andrew Ballard
On Thu, Sep 9, 2010 at 9:52 AM, Jack jacklistm...@gmail.com wrote: Hello All, I have some code which converts to some html to ascii characters.  This basically obfuscates the html code, but shows it correctly on an page. I am trying to show the results of the obfuscation ( works correctly

Re: [PHP] Show text without converting to html

2010-09-09 Thread Richard Quadling
On 9 September 2010 14:52, Jack jacklistm...@gmail.com wrote: Hello All, I have some code which converts to some html to ascii characters.  This basically obfuscates the html code, but shows it correctly on an page. I am trying to show the results of the obfuscation ( works correctly because

RE: [PHP] Show text without converting to html

2010-09-09 Thread Jack
-Original Message- From: Andrew Ballard [mailto:aball...@gmail.com] The only people for whom the value will be obscure will be the humans who actually try to read the HTML source code itself. Neither web browsers nor harvesting scripts won't have any trouble reading it. Andrew

RE: [PHP] Show text without converting to html

2010-09-09 Thread Jack
-Original Message- From: Andrew Ballard [mailto:aball...@gmail.com] Sent: Thursday, September 09, 2010 10:13 AM To: Jack Cc: PHP Subject: Re: [PHP] Show text without converting to html On Thu, Sep 9, 2010 at 9:52 AM, Jack jacklistm...@gmail.com wrote: Hello All, I have some code

Re: [PHP] Show text without converting to html

2010-09-09 Thread Andrew Ballard
On Thu, Sep 9, 2010 at 11:39 AM, Jack jacklistm...@gmail.com wrote: -Original Message- From: Andrew Ballard [mailto:aball...@gmail.com] The only people for whom the value will be obscure will be the humans who actually try to read the HTML source code itself. Neither web browsers

RE: [PHP] Show text without converting to html

2010-09-09 Thread Tommy Pham
-Original Message- From: Andrew Ballard [mailto:aball...@gmail.com] Sent: Thursday, September 09, 2010 11:22 AM To: Jack Cc: PHP Subject: Re: [PHP] Show text without converting to html snip / It will protect against a (possibly large?) percentage of those that are looking