Answer the question
In order to leave comments, you need to log in
Why is the $_POST array being cleared?
People, can you tell me why $_POST comes empty
More precisely, it is cleared in prolog_admin_before.php
joxi.ru/gmv7kOXsLe3Gw2
Before prolog_admin_before.php everything is fine, but in prolog_admin_before.php in the file
require_once(dirname(__FILE__)."/. ./include.php ");
already being cleared
I can't understand the reason...
Edition start
I'm trying to make this menu item with settings joxi.ru/eAOYMYZHxlQ1Dm
Answer the question
In order to leave comments, you need to log in
If you refresh the page, it won't ask you to confirm submitting the form (as it usually does when submitting a POST request).
This means that the page went through LocalRedirect( ... );
The first thing I would do is walk through the labyrinth for the xdebug thread.
Perhaps the redirect condition is triggered in _after connection, and you need to intercept _POST before connecting it and make the redirect yourself.
UPD : here's another one, it might help:
https://dev.1c-bitrix.ru/api_help/main/general/pag...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question