php-general Digest 12 Aug 2008 18:48:06 -0000 Issue 5620
Topics (messages 277992 through 277992):
strip_tags
277992 by: Philip Thompson
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi all.
If you are sanitizing _POST input for a database by escaping (via
mysql_*), is there a reason to use strip_tags()? If so, why and could
you provide an example?
Thanks,
~Philip
"innerHTML is a string. The DOM is not a string, it's a hierarchal
object structure. Shoving a string into an object is impure and
similar to wrapping a spaghetti noodle around an orange and calling it
lunch."
--- End Message ---