会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Abner3721
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
下一页
2016年7月15日
mysql 查询当天的数据库
摘要: 时间存储格式是时间戳 SELECT * FROM 表名 WHERE 时间字段 BETWEEN UNIX_TIMESTAMP( CURDATE( ) ) AND UNIX_TIMESTAMP( NOW( ) )
阅读全文
posted @ 2016-07-15 14:22 Abner3721
阅读(249)
评论(0)
推荐(0)
2016年7月6日
apache 多网站日志配置禁止ip访问
摘要: apache关闭栏目浏览 只需要修改Options Indexes为Options None即可,注:根据PHP运行环境安装包的不同,Options Indexes也有可能是Options Indexes FollowSymLinks,一并改为Options None即可。 #禁止IP访问服务器Ac
阅读全文
posted @ 2016-07-06 11:27 Abner3721
阅读(335)
评论(0)
推荐(0)
2016年6月19日
apache2.4 绿色版环境配置。
摘要: http://jingyan.baidu.com/article/9faa723152c5d6473d28cb47.html http://jingyan.baidu.com/article/9faa723152c5d6473d28cb47.html
阅读全文
posted @ 2016-06-19 21:53 Abner3721
阅读(287)
评论(0)
推荐(0)
2016年6月8日
临时文件-友情链接
摘要: {include file="pageheader.htm"} {$lang.link_name} {$lang.link_name_desc} {$lang.link_url} {$lang.show_order} ...
阅读全文
posted @ 2016-06-08 17:59 Abner3721
阅读(128)
评论(0)
推荐(0)
2016年6月3日
相似度匹配
摘要: $v) { foreach($keyarr2 as $k2 => $v2) { similar_text($v[1], $v2[3], $percent); $percent = round($percent); if($percent >= 95) { ...
阅读全文
posted @ 2016-06-03 15:20 Abner3721
阅读(287)
评论(0)
推荐(0)
2016年6月1日
php网址显示excel表格内容
摘要: $filename = '你想转化的excel文件.xls'; $objReader = new \PHPExcel_Reader_Excel5(); //实例化一个读取对象 $objWriteHTML = new \PHPExcel_Writer_HTML($objReader->load($fi
阅读全文
posted @ 2016-06-01 16:58 Abner3721
阅读(808)
评论(0)
推荐(0)
2016年5月26日
php 读取excel表格中的内容
摘要: * @version 1.01 */ header("Content-type: text/html; charset=utf-8"); error_reporting(E_ALL); set_time_limit(0);//设置不超时 @ini_set('memory_limit', '512M');//设置PHP能使用的内存大小 date_default_timezone_se...
阅读全文
posted @ 2016-05-26 09:25 Abner3721
阅读(865)
评论(0)
推荐(0)
2016年5月24日
ecshop 批量生成订单信息
摘要: table('goods'). 'WHERE 1'; $gdata = $db -> getAll($gsql); //根据商品id生成订单信息 foreach($gdata as $k => $v) { //评论的数量 $comment_num = $db->getOne("SELECT count(comment_id) id FROM " .$GLOBALS['ecs...
阅读全文
posted @ 2016-05-24 09:41 Abner3721
阅读(1175)
评论(0)
推荐(0)
2016年5月23日
ecshop 给商品随机添加评论
摘要: table('goods'). " WHERE is_delete = 0"; $goods_ids = $db -> getAll($gsql); //取出用户的用户名 $usql = "SELECT `user_name` FROM " .$GLOBALS['ecs'] ->table('users'). " WHERE 1"; $user_name_arr = $db -> getAll...
阅读全文
posted @ 2016-05-23 17:02 Abner3721
阅读(277)
评论(0)
推荐(0)
2016年5月16日
ecshop 远程图片本地化
摘要: define('IN_ECS', true); require(dirname(__FILE__) . '/includes/init.php'); $smarty->assign('siteDomain','http://'.$_SERVER['HTTP_HOST'].'/'); /** * 得到远程图片 * * @access public * @param goods_desc...
阅读全文
posted @ 2016-05-16 14:11 Abner3721
阅读(246)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
下一页
公告