PHP's filter_input() strips $_SERVER data on external host, but works on localhost

前端 未结 2 1876
傲寒
傲寒 2021-01-13 20:44

I am running an apache2 server where I do my localhost testing (PHP 5.5), but my hosting provider has PHP 5.3. I don\'t know whether that is an issue, but I mention it just

2条回答
  •  野的像风
    2021-01-13 21:26

    My guess would be something related to this bug: https://github.com/wp-stream/stream/issues/254

    Try to use the bugfix on your code as a workaround

提交回复
热议问题