Why does this `$_SESSION = $_POST` fail?

后端 未结 4 645
粉色の甜心
粉色の甜心 2021-01-28 06:04

What am I missing here? This is my PHP file:

\";
echo print_r($_POST);

// Save input in sessio         


        
4条回答
  •  我在风中等你
    2021-01-28 06:12

    Working with Xampp, that example works just fine. The 'test1' is printed on the before and after a successful post. Using PHP 5.3.8.

    Tested on Linux with PHP 5.3.6, also works fine printing the 'test1' in both cases.

    So, it seems PHP is not the problem here.

提交回复
热议问题