Answer the question
In order to leave comments, you need to log in
Is it possible to intercept $_POST with processing in an intermediate script?
Hello! The question is purely academic.
Is it possible to:
1) When sending a POST request (submitting a form, for example), send it to a separate php script;
2) The script manipulates the received data (as an example, it sends it to crm), then returns the data back to nginx;
3) Nginx sends the data further, where they were originally supposed to go (for example, the index.php of the site)
We did something close in this question , it became interesting if such a trick can be done + what pitfalls can be encountered with such an implementation? Theoretically, this can be useful when integrating a site with crm without modifying its source files.
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