码迷,mamicode.com
首页 >  
搜索关键字:user    ( 38326个结果
1.4-邮件脚本讲解
5.mail.php<?phpclassSmtp{/*PublicVariables*/var$smtp_port;var$time_out;var$host_name;var$log_file;var$relay_host;var$debug;var$auth;var$user;var$pass;/*PrivateVariables*/var$sock;/*Constractor*/functionSmtp($relay_host="",$smtp_port=25,$auth=false,$user,..
分类:其他好文   时间:2016-03-02 07:12:38    阅读次数:205
复习了一波jsp
其实就是增删改查,分页框架,工厂类,拦截器; drop database IF EXISTS itat_msg; create database itat_msg; use itat_msg; create table t_user( id int(10) primary key auto_incr
分类:Web程序   时间:2016-03-02 01:37:30    阅读次数:243
js函数收藏:获取cookie值
//先设置一段子cookie var d = new Date(); d.setMonth(d.getMonth() + 1); d = d.toGMTString(); var a = "name:a, age:20, addr:beijing"; var c = "user=" + escape
分类:Web程序   时间:2016-03-02 00:22:08    阅读次数:198
分布式服务框架 dubbo/dubbox 入门示例(转)
dubbo是一个分布式的服务架构,可直接用于生产环境作为SOA服务框架。 官网首页:http://dubbo.io/ ,官方用户指南 http://dubbo.io/User+Guide-zh.htm上面的几张图画得不错,完全可以当做SOA架构的学习资料 淘宝将这个项目开源出来以后,得到了不少同行的
分类:其他好文   时间:2016-03-01 22:38:41    阅读次数:1753
mysql 表主键类型由int 改为bigint
需求:由于业务的需要,tmp_employees的emp_no主键字段类型为int已经不能满足业务的需求,此时需要将该表主键字段类型由int更改为bigint使用工具:pt-online-schema-change./pt-online-schema-change--user=root--password=root456--recursion-method="processlist"--alter="mo..
分类:数据库   时间:2016-03-01 19:21:29    阅读次数:664
pt-online-schema-change工作原理
./pt-online-schema-change--user=root--password=root456--recursion-method="processlist"--chunk-size=50000--alter="modifycolumnemp_nobigintnotnullauto_increment"h=192.168.31.64,P=3306,D=employees,t=tmp_employees--execute创建一张和原表结构一样的中间表,命名一..
分类:其他好文   时间:2016-03-01 19:17:21    阅读次数:362
安装程序常用脚本
#!/bin/bash#debuginfo#user:houzc#createtime:2012/7/27andupdatetime2014/12/4#Mysqlinstalldirectory,datadiretory,versionandmysql-rootpasswordsetup.DATA_DIR="/data/mysqldata/"BASE_DIR="/usr/local/mysql"VERSION="mysql-5.6.20"MYSQL_PASSWD="admin"#######apahceand..
分类:其他好文   时间:2016-03-01 19:14:29    阅读次数:273
visudo配置 sudo
sudo配置Host_Alias定义主机别名;User_Alias用户别名,别名成员可以是用户,用户组(前面要加%号)Runas_Alias用来定义runas别名,这个别名指定的是“目的用户”,即sudo允许切换至的用户;Cmnd_Alias定义命令别名;beinanALL=(root)NOPASSWD:/bin/chown,/bin/chmod如果不需要..
分类:其他好文   时间:2016-03-01 19:11:18    阅读次数:1604
通过CSS让html网页中的内容不可选
*{ moz-user-select: -moz-none; -moz-user-select: none; -o-user-select:none; -khtml-user-select:none; -webkit-user-select:none; -ms-user-select:none; u
分类:Web程序   时间:2016-03-01 18:37:54    阅读次数:155
Thinkphp 查询条件 and 和 or同时使用即复合查询
thinkphp 3.2快捷查询OR查询&分割表示AND查询讲解 快捷查询方式是一种多字段查询的简化写法,可以进一步简化查询条件的写法,在多个字段之间用|分割表示OR查询,用&分割表示AND查询,可以实现下面的查询,例如: 一、不同字段相同的查询条件 $User = M("User"); // 实例
分类:Web程序   时间:2016-03-01 14:17:29    阅读次数:140
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!