We have a system where users track email correspondences by cutting and pasting previous emails into a text area form and submitting them. When the (to, from, subject) code is included, the processing page is not found. When that code is removed form the text area, it process just fine. Is there a way to avoid this?
I've tried strip_tags and htmlspecialchars. Neither have worked as it appears the code in the post affects things prior to to point where PHP would kick in.
Any help is greatly appreciated.
For example, when this type of text is included in the form, the processes script is not found.
-----Original Message-----
From: name@website.com [mailto:name@website.com]
Sent: Tuesday, December 27, 2005 2:18 PM
To: name@website.com; name@website.com; 'name; 'name'; 'name'
Subject: In defence of freedom!