how can i implement both FILTER_FLAG_STRIP_HIGH and FILTER_FLAG_STRIP_LOW .. i wrote
filter_input(INPUT_POST, "fname", FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW, FILTER_FLAG_STRIP_HIGH);
will this work?
thank.
You must OR them together;
filter_input(INPUT_POST, "fname", FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW | FILTER_FLAG_STRIP_HIGH);