05 2011 档案

摘要:说明:web server:以Apache httpd为例程序:以PHP为例方案1:最简单,不用配置ApacheURI效果:http://movie.example.com/index.php/subject/4843637/案例:MediaWikitodo方案2:配置Apache URL rewrite,重定向至index.php,带参数URI效果:http://movie.example.com/subject/4843637/案例:MediaWikitodo方案3:配置Apache URL rewrite,重定向至index.php,无参数URI效果:http://movie.examp 阅读全文
posted @ 2011-05-29 23:09 sink_cup 阅读(622) 评论(0) 推荐(0) 编辑
摘要:<?php$a = array( 'a' => '你好', 'b' => 'bb');//header('Content-Type:application/json; charset=UTF-8');echo json_encode($a)."\n";function decodeUnicode($str){ return preg_replace_callback('/\\\\u([0-9a-f]{4})/i', create_function( '$ 阅读全文
posted @ 2011-05-28 13:19 sink_cup 阅读(2506) 评论(3) 推荐(0) 编辑
摘要:方案1:1个wiki、1个数据库、多语言文字内链导航效果:在文章内显示多语言文字导航,截图如下。wiki首页:http://localhost/wiki/docs/index.php/英文文章地址:http://localhost/wiki/docs/index.php/Hello汉字文章地址:http://localhost/wiki/docs/index.php/Hello/zh缺点:uri受限制,必须是Hello、Hello/zh的格式。扩展安装步骤比较繁琐。推荐使用方案3。todo:界面随着文章内容变化,比如Hello的界面是英文的,Hello/zh的界面是汉字的。需要自己修改一下me 阅读全文
posted @ 2011-05-26 13:53 sink_cup 阅读(5420) 评论(2) 推荐(1) 编辑
摘要:Fedora 16Fedora 16于2011年11月8日正式发布。下载:http://fedoraproject.org/zh_CN/get-fedora-allhttp://torrent.fedoraproject.org/torrents/Fedora-16-x86_64-DVD.torrenthttp://download.fedoraproject.org/pub/fedora/linux/releases/16/Fedora/x86_64/iso/Fedora-16-x86_64-DVD.isoFedora 15 关机按钮桌面,右上角,点一下,看见了“挂起”。按住alt键,就看见 阅读全文
posted @ 2011-05-25 22:05 sink_cup 阅读(14716) 评论(6) 推荐(1) 编辑

Creative Commons License

本站原创作品采用知识共享署名 3.0许可协议进行许可。

点击右上角即可分享
微信分享提示