sanitizing get vars

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



what is a safe way to clean a post/get before echoing it.
example. input form, user enters some text, hits enter.

.. next page i echo what they entered.
right now i just run the variables passed by htmlentities() which preseves any html. is that acceptable?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux