我怎样才能得到与$ _Request类似的结果 [英] How Can I Get Result Similar To $_Request In Php.

查看:94
本文介绍了我怎样才能得到与$ _Request类似的结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您发送任何网址

如下:



http://www.abc.com/index.php?name= unknown &email=unknown@known.com&mobile=0000011111



你得到$ _Request的结果如下



数组



[name] => unknown

[email] => unknown@known.com

[手机] => 0000011111





你可以帮我写相同的功能并获得相同的结果集我将输入字符串发送到函数name=unknown&email=unknown@known.com&mobile=0000011111

When you send any URL
like following

http://www.abc.com/index.php?name=unknown&email=unknown@known.com&mobile=0000011111

you get result in $_Request as follows

Array
(
[name] => unknown
[email] => unknown@known.com
[mobile] => 0000011111
)

can you help me writing the function for the same and get the same result set when i send the input string to the function as "name=unknown&email=unknown@known.com&mobile=0000011111"

推荐答案

_Request如下



数组



[name] =>未知

[email] => unknown @ known .com

[手机] => 0000011111





你能帮我写一下这个功能吗?当我将输入字符串发送到函数时,相同并得到相同的结果集如name=unknown&email=unknown@known.com&mobile=0000011111
_Request as follows

Array
(
[name] => unknown
[email] => unknown@known.com
[mobile] => 0000011111
)

can you help me writing the function for the same and get the same result set when i send the input string to the function as "name=unknown&email=unknown@known.com&mobile=0000011111"


这篇关于我怎样才能得到与$ _Request类似的结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆