Renato Penna Posted December 19, 2006 Report Share Posted December 19, 2006 Alguém sabe de uma função no PHP que retire tags HTML de uma string ? Quote Link to comment Share on other sites More sharing options...
0 ikkinet Posted December 19, 2006 Report Share Posted December 19, 2006 http://br2.php.net/manual/pt_BR/function.strip-tags.php Quote Link to comment Share on other sites More sharing options...
0 Alexandre BSB Posted December 19, 2006 Report Share Posted December 19, 2006 htmlspecialchars($var); é boa também =) Quote Link to comment Share on other sites More sharing options...
0 jose.rob.jr Posted December 20, 2006 Report Share Posted December 20, 2006 eu prefiro o htmlentities()mais segurança Quote Link to comment Share on other sites More sharing options...
Question
Renato Penna
Alguém sabe de uma função no PHP que retire tags HTML de uma string ?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.