Jump to content


Photo

no posting codes


  • Please log in to reply
2 replies to this topic

#1 zirgs

zirgs
  • Members
  • PipPip
  • Member
  • 25 posts

Posted 08 July 2006 - 08:54 PM

hello, can anyone can give me some clue how to restrict posting codes(html's,js's,php's) and so on, i mean in guestbooks and like that.
thanks.

#2 Kurt

Kurt
  • Members
  • PipPipPip
  • Advanced Member
  • 42 posts
  • LocationNew York

Posted 08 July 2006 - 08:55 PM

Use the htmlentities() function so all special characters get turned into their entity form, including < and >.

#3 zirgs

zirgs
  • Members
  • PipPip
  • Member
  • 25 posts

Posted 09 July 2006 - 07:35 PM

thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users