RE: Encoding HTML in hidden inputs

2002-03-11 Thread Ember Normand
Try: $yourname = CGI::escape($yourname); -Original Message- From: David Kaufman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 1:13 PM To: Byron Wise; Perl-Win32-Users Subject: Re: Encoding HTML in hidden inputs "Byron Wise" <[EMAIL PROTECTED]> wrote: >

Re: Encoding HTML in hidden inputs

2002-03-11 Thread David Kaufman
"Byron Wise" <[EMAIL PROTECTED]> wrote: > I have a form that allows the user to input html. > After they submit I'm needing to put that value in a > hidden field and wait for them to fill out the second > page before processing. > What is the best method of encoding the html. It > seems that the

Re: Encoding HTML in hidden inputs

2002-03-11 Thread Edward G. Orton
- Original Message - From: "Byron Wise" <[EMAIL PROTECTED]> To: "Perl-Win32-Users" <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 12:55 PM Subject: Encoding HTML in hidden inputs > I have a form that allows the user to input html. > After they submit I'm needing to put that value in a

re: Encoding HTML in hidden inputs

2002-03-11 Thread C. Church
> What is the best method of encoding the html. It > seems that the problem is double quotes but I'd rather > have a more robust solution than just handeling the > quotes. > > any suggestions? (this may not be the 'best' method, but...) Try: # warning: untested! # an anonymous subref that