Chris W. Parker wrote:

www.php.net/addslashes

I am uncertain what dangerous/annoying things might happen if I did not call this function. Can you come up with any?


Remember, the text being processed goes straight from $_POST[ 'body' ] through strip_tags (+ more?) into mail().

It would seem that addslashes would just make the body text look messy for no reason.

www.php.net/htmlentities

It seems as if strip_tags strip out everything that htmlentities would change and would therefore be unnecessary.


--
== Eric Gorr =============================== http://www.ericgorr.net ===
"The more you study, the more you know. The more you know, the more you
forget. The more you forget, the less you know. So, why study?" - ???
== Insults, like violence, are the last refuge of the incompetent... ===

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to