摘要:
python实现列表页数据的批量抓取,练手的,下回带分页的 阅读全文
posted @ 2017-10-27 16:53
baker95935
阅读(984)
评论(0)
推荐(0)
|
摘要:
python实现列表页数据的批量抓取,练手的,下回带分页的 阅读全文
posted @ 2017-10-27 16:53
baker95935
阅读(984)
评论(0)
推荐(0)
摘要:
0){ //如果有数据,校验下,是否有效 $sql="select count(*) as total from url_table where fid='".$fid."' and stime>=".$btime." and etime(.*)(.*)=".$btime." and etime(.*)(.*) 阅读全文
posted @ 2017-10-23 11:52
baker95935
阅读(814)
评论(0)
推荐(0)
摘要:
查看查询缓存情况: mysql> show variables like '%query_cache%'; (query_cache_type 为 ON 表示已经开启) + + + | Variable_name | Value | + + + | have_query_cache | YES | 阅读全文
posted @ 2017-10-22 15:49
baker95935
阅读(5673)
评论(0)
推荐(0)
摘要:
备注:页面内容有h1,intro,content的 顺便写点心得 阅读全文
posted @ 2017-10-18 16:54
baker95935
阅读(1022)
评论(0)
推荐(0)
摘要:
UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 263: illegal multibyte sequence UnicodeEncodeError: 'gbk' codec can't encode 阅读全文
posted @ 2017-10-18 16:49
baker95935
阅读(1488)
评论(0)
推荐(0)
摘要:
python3.5 先安装库或者扩展 1 requests第三方扩展库 2 pymysql 3 lxml 4 贴个代码 5 运行这个代码 ptyhon demo3.py 6 看看运行的结果 7 数据库里面看看结果 支持完成,成功,等会抓个别的例子 练练手 阅读全文
posted @ 2017-10-17 11:24
baker95935
阅读(967)
评论(0)
推荐(0)
摘要:
我使用ckeditor 我在编辑的使用源码编辑,保存内容包含javascript、style标签的时候,数据库中有javascript、style标签 , 输入到页面也可以执行,但是我再次编辑的时候就不见了。添加allowedContent: true就可以了 CKEDITOR.replace( ' 阅读全文
posted @ 2017-10-16 09:37
baker95935
阅读(948)
评论(0)
推荐(0)
摘要:
nohup是永久执行&是指在后台运行运行 nohup --helpRun COMMAND, ignoring hangup signals. 可以看到是“运行命令,忽略挂起信号”就是指,用nohup运行命令可以使命令永久的执行下去,和用户终端没有关系,例如我们断开SSH连接都不会影响他的运行,注意了 阅读全文
posted @ 2017-10-15 13:56
baker95935
阅读(253)
评论(0)
推荐(0)
摘要:
大家知道除了加载loadmodule后 还需要修改http.conf 使apache支持.htaccess 允许在任何目录中使用“.htaccess”文件,将“AllowOverride”改成“All”(默认为“None”) 切记 这个语句设置的路径 一定要是咱们设置的网站目录 阅读全文
posted @ 2017-10-15 13:06
baker95935
阅读(255)
评论(0)
推荐(0)
摘要:
[Illuminate\Database\QueryException] SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas sword: NO) (SQL: select * from inform 阅读全文
posted @ 2017-10-14 22:12
baker95935
阅读(9823)
评论(0)
推荐(1)
|