url 和 php变量传值的关系

QUERY -- 变量

http://localhost/index.php?a=b&q=cc&desti=abc

-------------

array(3) {

 ["a"]=>

  string(1) "b"

  ["q"]=>

  string(2) "cc"

  ["desti"]=>

  string(3) "abc"

}

-------------

var_dump($_REQUEST);

===

欲取之 必先予之 这才是 query string的功能

posted @ 2015-05-04 12:20  qqisnow2021  阅读(231)  评论(0编辑  收藏  举报