For you who aren't it can be found here:
http://pixel-apes.com/safehtml/
Now to the issue, which isn't a problem really but it will require alot less code if it works.
Right now i have to do
Code: Select all
$safehtml =& new safehtml();
$_POST['username'] = $safehtml->parse($_POST['username']);
$_POST['password'] = $safehtml->parse($_POST['password']);
$_POST['captcha'] = $safehtml->parse($_POST['captcha']);Code: Select all
$_POST= $safehtml->parse($_POST);Now the actual safeHTML class\script is quite complicated (atleast for me) So i can't really
figure out where it actually returns the input.
So anyone here have any experience or might else have an idea how to solve this by passing the entire $_POST trough the function
without "Killing it"
Thanks in advance.
/Daniel