PHP replaces spaces with underlines

后端 未结 4 598
广开言路
广开言路 2020-12-03 05:16

I have the problem, that PHP replaces all spaces with underlines in POST and GET variables.

For example if I have the URL: http://localhost/proxy.php?user name=Max t

4条回答
  •  执笔经年
    2020-12-03 05:54

    As far as i can remember, i've never seen spaces in URL parameter names...

    I think, it would be better to convert all spaces of parameter names into "_".

提交回复
热议问题