Answer the question
In order to leave comments, you need to log in
PHP is it possible to implement filtering all POST/GET requests globally?
Hello everyone, recently I got tired of passing them to the filtering functions on each page / script individually when receiving $_GET[] and $_POST['] arrays. And once I completely forgot to do it (
The question is, maybe there are ways like hooks to specify filtering functions somewhere, and php itself would always use them, but in the get and post arrays I would get secure content?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question