NYCPHP Meetup

NYPHP.org

[nycphp-talk] Textarea formatting

Cliff Hirsch cliff at pinestream.com
Thu Oct 19 14:56:07 EDT 2006


Ah, hate to be a killjoy, but does that mean you just echo that field
back to the screen? Big security hole. The tricky part is how to escape
the output while still allowing the special characters that you want.

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Ben Sgro (sk)
Sent: Thursday, October 19, 2006 1:32 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Textarea formatting

Ken, 

Great, that's exactly what I need. 
Thanks all!

- Ben
----- Original Message ----- 
From: "Ken Robinson" <kenrbnsn at rbnsn.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
Sent: Thursday, October 19, 2006 2:28 PM
Subject: Re: [nycphp-talk] Textarea formatting


At 02:10 PM 10/19/2006, Ben Sgro (sk) wrote:
>Felix,
>
>Sure, that is helpful, but what about tabs, lists and all the other 
>elements that could exist in an email message.
>I'm looking for a canned function or class that will do the work.

You can try displaying the text between <pre><?pre> tags.

Ken 

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php


_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php




More information about the talk mailing list