A
A
Anton Shelestov2017-05-08 11:06:57
PHP
Anton Shelestov, 2017-05-08 11:06:57

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

2 answer(s)
A
Alexey Burlaka, 2017-05-08
@AlexeyGfi

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...

T
ThunderCat, 2017-05-08
@ThunderCat

search by code in a file for $_POST is not fashionable?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question