Changed $_REQUEST[var] to filter_input(INPUT_GET | INPUT_POST,var)