热搜:NVER 

刚建的仅2k的可配置的PHP URL 路由 http://code.google.com/p/qserouter/

2024-04-29 14:27:02
 刚建的仅2k的可配置的PHP URL 路由 http://code.google.com/p/qserouter/

刚刚建的仅2k的可配置的PHP URL 路由 http://code.google.com/p/qserouter/

地址: http://code.google.com/p/qserouter/ 上午刚刚建的 :-)


<?php
require 'router.php';

function dump($vars, $label = '', $return = false)
{
    if (ini_get('html_errors')) {
        $content = "
\n";
        if ($label != '') {
            $content .= "{$label} :\n";
        }
        $content .= htmlspecialchars(print_r($vars, true));
        $content .= "\n
\n"; } else { $content = $label . " :\n" . print_r($vars, true); } if ($return) { return $content; } echo $content; return null; } $routes = new Router(require('mapping.php')); $testarr = array( '/', '/abc', '/abc/d', '/books/13', '/books/13/java', '/admin', '/admin/', '/admin/abc', '/admin/abc/d', ); foreach ($testarr as $item){ dump($routes->filter($_GET,$item),$item); } ?>

1 楼 vb2005xu 2012-06-09   http://www.clearbox.hu/index_en.html#4 很不错的lightbox效果

2 楼 vb2005xu 2012-06-09   http://graphicdesignjunction.com/2011/09/25-latest-jquery-plugins/ jquery 扩展

3 楼 vb2005xu 2012-06-09   http://www.qwrap.com/download.html  百度的js前端框架

4 楼 vb2005xu 2012-06-11   http://www.appelsiini.net/projects/viewport

5 楼 vb2005xu 2012-06-11   http://taffydb.com/

6 楼 vb2005xu 2012-06-11   http://www.gantry-framework.org/

7 楼 vb2005xu 2012-06-13   http://www.pjhome.net/default.asp?cateID=1