User Profile
Collapse
-
Thanks, I'll give it a shot! -
I am just emailing the content of the input box, nothing needs to really be stored from these. I tried intgrating your pregreplace and i got an error saying that ? was an unknown variable... I don't really know what to do for troubleshooting though.
You however did finally make the stripslashes and addslashes make sense... so it adds slashes for certain types of data whereas in others you just want raw data. SO thanks!
...Leave a comment:
-
strip html but keep ' & ""
hello all!
I am using a form that a user can fill out but for security reasons I want html stripped out. If the user inputs html, I want it to kick back saying something to the fact that it had html removed. What I have works just fine with one exception, I want people to be able to use
Code:<?php $RemarksPure = Trim(stripslashes($_POST['remarks'])); $Remarks = addslashes(preg_replace('#</?\w[^>]*>#',
No activity results to display
Show More
Leave a comment: