Home  >  Article  >  php教程  >  webgrid,像管理桌面一样进行网址导航

webgrid,像管理桌面一样进行网址导航

PHP中文网
PHP中文网Original
2016-05-26 08:20:281593browse

这是用PHP开发的,可以在里面搜索和浏览网址,并把自己喜欢的网址放到像桌面一样的收藏夹中,下一次登录后就可以直接通过桌面上的图标访问这些网址了。

index.php                         

<?php
$file = isset($_GET[&#39;file&#39;])?$_GET[&#39;file&#39;]:"user_controller";
$class = isset($_GET[&#39;class&#39;])?$_GET[&#39;class&#39;]:"UserController";
$fun = isset($_GET[&#39;fun&#39;])?$_GET[&#39;fun&#39;]:"index";
$modelPath = "models";
$viewPath = "views";
require_once("mysql_connect.php");
include_once("{$file}.php");
$controller = new $class($modelPath, $viewPath, $dbc);
$controller->$fun();
mysqli_close($dbc);
?>

webgrid.tar.gz ~ 2MB        

webgrid,像管理桌面一样进行网址导航webgrid.tar.gz


                   

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:PHP下载页面的处理代码Next article:数据字典生成器