zirgs Posted July 8, 2006 Share Posted July 8, 2006 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. Link to comment https://forums.phpfreaks.com/topic/14050-no-posting-codes/ Share on other sites More sharing options...
Kurt Posted July 8, 2006 Share Posted July 8, 2006 Use the htmlentities() function so all special characters get turned into their entity form, including < and >. Link to comment https://forums.phpfreaks.com/topic/14050-no-posting-codes/#findComment-54921 Share on other sites More sharing options...
zirgs Posted July 9, 2006 Author Share Posted July 9, 2006 thanks. Link to comment https://forums.phpfreaks.com/topic/14050-no-posting-codes/#findComment-55255 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.