开发者

Change the arg_separator.output separator directive in php.ini

Can anybody tell me what happen if i change the arg_separator.input directive in php.ini file and set it to 'a' and my form have two text fileds named "name and age" . Then if i submit it then url will be like www.yourdomain.com?name=tempaage=12 did th开发者_Python百科is confuse the server or it will run fine. Is there any rule to have only specific character as arg separator.


Then if i submit it then url will be like www.yourdomain.com?name=tempaage=12

What makes you say that the browser will send such a string to the server? It won't, it will simply use & as the separator as suggested here. If you plan to generate URLs yourself, try encoding your example data like this:

www.yourdomain.com?n%61me=tempa%61ge=12
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜