Hi,
I have tried to retrieve $_POST array values on search results_page and found that neither usual
<?php
$myvar = $_POST["some_name"];
echo $myvar;
?>
nor ExpressionEngine’s
<?php
global $IN;
$myvar = $IN->GBL('some_name', 'POST')
echo $myvar;
?>
does work.
The code
<?php
echo count($_POST);
?>
outputs zero on search results_page.
In contrast to $IN->GBL(‘some_name’, ‘POST’), $IN->GBL(‘some_name’, ‘COOKIE’) works correctly on search results_page.
So, my question: what’s happening with $_POST array on search results_page? Is it possible to to retrieve $_POST array values on search results_page? Or maybe ExpressionEngine somehow manipulates with those values thus making them unavailable?
