[thelist] Form Text Area Paste from Outlook Problem

Nick Wilson nick at explodingnet.com
Wed Feb 27 01:11:00 CST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


* and then ADOLPH TRUDEAU declared....
> Hi,
> I have people pasting text from outlook into a web form. The text is not
> being picked up by the responding script. This is giving me a headache with
> an asp script but I have noticed it once before with cold fusion. It seems
> as if this is happening because outlook is pasting some offending special
> character in the text box. Has anyone out there encountered this/found a
> fix? I'm just getting started researching a fix, so any input would be
> helpful.


In PHP I'd be looking at addslashes() which will escape any special
chars so the data is suitable for db insertion. I'm sure ASP has an
equivalent.
- --
- -----------------------------------------------------------
 www.explodingnet.com   |    Projects, Forums and
                        +    Articles for website owners
- -- Nick Wilson --     |    and designers.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8fAKfHpvrrTa6L5oRAoJxAJ4wZ1rZcuvSCzJ1yIP8/nTnAHSF6wCglNq5
gLgvioHaEl2pfwrBOUEK4SE=
=BE8r
-----END PGP SIGNATURE-----



More information about the thelist mailing list