PHP: session variables are overwritten by declared variables with same name

前端 未结 1 1304
时光取名叫无心
时光取名叫无心 2021-01-29 03:02

Just now verified that, PHP session variable is overwritten by declared variable with same name. i.e) I have session variable $_SESSION[\'lan\'] = \'xyz\' (global v

1条回答
  •  迷失自我
    2021-01-29 03:21

    Make sure that register_globals is off.

    0 讨论(0)
提交回复
热议问题