PHP
文章平均质量分 57
jianglei421
这个作者很懒,什么都没留下…
展开
-
时间段
php时间段原创 2010-07-07 11:23:00 · 452 阅读 · 0 评论 -
php 获得ip
php 获得ip原创 2010-08-13 16:32:00 · 686 阅读 · 0 评论 -
swfupload
swfupload 结合 ci upload原创 2010-09-23 10:16:00 · 3118 阅读 · 0 评论 -
优化你的smarty
优化你的smarty原创 2010-10-21 13:58:00 · 648 阅读 · 0 评论 -
linux wget 及 PHP wget 获取文件
wget 是一个命令行的下载文件工具,它支持HTTP,HTTPS和FTP协议,可以使用HTTP代理。Linux用户经常需要使用它。下此介绍几个wget使用的技巧。wget技巧大全:1>下载 http://www.linux.com 网站上 packs 目录中的所有文件$ wget -r -np -nd http://www.linux.com/packs/-转载 2011-06-16 10:15:00 · 12852 阅读 · 0 评论 -
CI 框架 接受get数据(问号传参形式)
解决方法: 1) 在config.php 中,将‘uri_protocol’ 设置为 ‘PATH_INFO’. PHP $config['uri_protocol'] = “PATH_INFO”; 2) 在需要使用$_GET的之前加: PHP parse_str($_SERVER['QUERY_STRING'], $_GET); 这样,形如 /posts/post原创 2011-10-20 13:35:29 · 4051 阅读 · 0 评论 -
php 生成短网址
function base62($x) { $show = ''; while($x > 0) { $s = $x % 62; if ($s > 35) { $s = chr($s+61); } elseif ($s > 9 && $s $s =转载 2011-10-20 13:37:34 · 1008 阅读 · 2 评论