yangzailu

导航

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 72 下一页

2019年8月19日 #

用session防止网站页面被频繁刷新

摘要: session防止网站页面频繁被刷新 阅读全文

posted @ 2019-08-19 11:45 飞离地平线 阅读(551) 评论(0) 推荐(0)

2019年8月16日 #

PHP销毁会话

摘要: 1.案例:设置session <?php header('content-type:text/html;charset=utf-8'); //开启会话 session_start(); //设置数据 $_SESSION['username'] ='king'; $_SESSION['email'] 阅读全文

posted @ 2019-08-16 14:56 飞离地平线 阅读(219) 评论(0) 推荐(0)

2019年8月15日 #

cookie封装

摘要: cookie类封装 <?php /** * cookie的设置,读取,更新,删除 */ class CustomCookie{ static private $_instance=null; private $expire = 0; //默认会话cookie private $path = ''; 阅读全文

posted @ 2019-08-15 17:04 飞离地平线 阅读(233) 评论(0) 推荐(0)

2019年8月8日 #

禁止网站某页面被频繁刷新(验证)

摘要: 已验证 阅读全文

posted @ 2019-08-08 14:47 飞离地平线 阅读(1058) 评论(0) 推荐(0)

2019年7月9日 #

$(...) is null

摘要: 删冲突插件,jquery作为基础库,当然是没有理由被删了。这个方法最直接了。 (2)将jquery的$方法改名,具体改名方法如下: 阅读全文

posted @ 2019-07-09 15:55 飞离地平线 阅读(266) 评论(0) 推荐(0)

2019年6月19日 #

svn: E155004: Working copy '/data/www' locked.

摘要: svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) svn: E155004: Working copy '/data/www' locked. 阅读全文

posted @ 2019-06-19 11:26 飞离地平线 阅读(1041) 评论(0) 推荐(0)

2019年6月18日 #

svn checkout不带根文件夹方法

摘要: checkout url/ .url后边加一个空格一个点(英文句号) svn checkout svn://10.177.261.128/mall/ . 阅读全文

posted @ 2019-06-18 17:31 飞离地平线 阅读(791) 评论(0) 推荐(0)

linux查看redis安装目录

摘要: 1.在redis下查看安装目录 如果命令 which 和whereis 都找不到安装目录,可使用以下办法 得到了进程号 xxxx 然后 ls -l /proc/xxxx/cwd 阅读全文

posted @ 2019-06-18 14:13 飞离地平线 阅读(72743) 评论(1) 推荐(5)

2019年6月17日 #

svn 没有killall命令的解决方法 -bash: killall: command not found

摘要: debian、ubuntu系统下: apt-get install psmisc centos 下: yum install psmisc debian、ubuntu系统下: apt-get install psmisc centos 下: yum install psmisc 阅读全文

posted @ 2019-06-17 11:07 飞离地平线 阅读(793) 评论(0) 推荐(0)

2019年6月12日 #

mysql where 1

摘要: where后跟各种查询条件,当条件为真时即可查询出记录。在这里where 1,1为真,也就是where后的条件为真,查询表中所有内容。 阅读全文

posted @ 2019-06-12 11:13 飞离地平线 阅读(686) 评论(0) 推荐(0)

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 72 下一页