Reintroduce $HTTP_POST_VARS in PHP 5.3

后端 未结 4 1576
生来不讨喜
生来不讨喜 2020-12-09 05:31

I need to run a legacy PHP application in a shared hosting environment. I have promised my customer I\'ll support that legacy application for some time but I found that it d

4条回答
  •  醉梦人生
    2020-12-09 05:51

    register_long_arrays works for 5.3, but they nuked this in php 5.4

    http://www.php.net/manual/en/ini.core.php#ini.register-long-arrays

    And yes, this setting is labled PHP_INI_PERDIR, so you can set it via individual .htaccess or individual ini files, as well as set it globally.

提交回复
热议问题