Answer the question
In order to leave comments, you need to log in
MODx Revo not seeing POST parameters?
Good afternoon!
When creating a *.php file in the root where MODx Revo is installed
print_r($_POST);
produces emptiness - Array().
At the same time, file_get_contents('php://input') reads everything perfectly. I think this is some kind of trick with the replacement of the $_POST array in MODx. How to access the parameters?
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