JAKE打印$GLOBALS数组出现_GET这个在哪解析的

#1 sje410

JAKE,当我URL格式为:http://sp.net/index.php?c=main1&a=test1这个时,

$GLOBALS[_GET] => Array        (            [c] => main1

            [a]=>  test1
         )

$GLOBALS[_REQUEST] => Array
        (            [c] => main1

            [a]=>  test1
         )

,当URL格式为:http://sp.net/admin/index.php?c=main1&a=test1这个时,

$GLOBALS[_GET] => Array(         [admin/index_php] => )

$GLOBALS[_REQUEST] => Array
        (            [admin/index_php] =>
         )
,请问下JAKE这个_REQUEST和_GET在框架中通过什么方法来拆分c和a的,我在框架中没有找到,求指导!


2012-12-20 14:36:22

#2 jake

speedphp.php文件和spurlrewrite.php文件


PS:speedphp框架应该是业界最容易看懂源码的框架了,花点心思看一下吧。

2012-12-20 16:56:05

#3 sje410

我看看,谢谢!

2012-12-20 20:00:12