add a php file for front end access to filtering functions