form hijacking
Moderator: General Moderators
-
kingconnections
- Forum Contributor
- Posts: 137
- Joined: Thu Jul 14, 2005 4:28 pm
form hijacking
So I have this form with a text area. People are trying to hijack my form and insert html and other code into the text area. Is there a way to not not allow them, or just not process this if they put in code?
-
impulse()
- Forum Regular
- Posts: 748
- Joined: Wed Aug 09, 2006 8:36 am
- Location: Staffordshire, UK
- Contact:
I think you can use on the data that's passed from the form and then pass it whereever it's going.
Code: Select all
strip_tags