Answer the question
In order to leave comments, you need to log in
How to disable quote checking in POST?
Transferred the site from the hosting to the local server. On all pages I accept a POST request like this: $value = $_POST[value];
In the logs it says "PHP Notice: Use of undefined constant"
If you put a quote in $_POST[ ' value ' ], then everything is in order.
How can I disable the check of these quotes?
Answer the question
In order to leave comments, you need to log in
This behavior is described in the documentation: php.net/manual/ru/language.types.array.php#languag... And yes, you can't do that.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question