Click here to Skip to main content
15,883,705 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed a discussion forum in that a lot of answers are coming to lot of question , so to prevent XXS I have used htmlentites(addslashes($inp)), but if somebody want to new lines and tabs in their answers it will not showing...
I have to allow them to use only newlines and tab spaces
Can anybody help me.... Thank you
Posted
Updated 31-Mar-14 19:54pm
v2
Comments
Snesh Prajapati 1-Apr-14 2:43am    
I think you want to say XSS not XXS.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900