View Single Post
  #4 (permalink)  
Old 20-10-2006, 10:00
unplugged unplugged is offline
Premium Member
 
Join Date: Sep 2006
Posts: 80
Default

The general rule when desiging web stuff is never trust data where you cant verfy the source

there are plenty of ways around it strip_tags() is one of them to dump all HTML etc and another is entity_encode.

If someone for example puts ">mwahahahahaha into a textbox or </table></html> HAHAHAHA or whatever it can seriously break the page viewing it
Reply With Quote