<?php
/**
* 记录数据
*/
function runlog($mode = ‘SMTP‘,$b = ‘‘,$c = ‘‘,$d=‘‘) {
}
/**
* 发送邮件
* @param $toemail 收件人email
* @param $subject 邮件主题
* @param $message 正文
*/
funct...
分类:
Web程序 时间:
2014-07-22 08:31:37
阅读次数:
485
1. 设计好一组分类信息;2. 在列表页模板中填写帖子的标题格式,例如:[{producer_value}][{artist_value}]{subject}[{size_value}{size_unit}]3. 修改template\default\forum\forumdisplay_list....
分类:
其他好文 时间:
2014-07-19 00:15:50
阅读次数:
407
0. java学习必看,你的大方向http://java.itcast.cn/subject/hadoop2/index.shtml?140701lcqqq1
1、JDK6中文API:http://tool.oschina.net/apidocs/apidoc?api=jdk-zh
2、Netty4.x用户向导:http://netty.io/wiki/user-guide-for-4.x....
分类:
编程语言 时间:
2014-07-15 22:37:33
阅读次数:
312
FIELD OF THE DISCLOSUREThe subject matter of the present disclosure relates to a framework for handling graphics animation and compositing operations ...
分类:
其他好文 时间:
2014-07-13 19:19:20
阅读次数:
351
OpenStack身份术语说明 Identity 身份 User 用户 Tenant 租户(工程) Service 服务 Endpoint 终端 X-Auth-Token HTTP请求头字段,应填充操作请求者拥有的由keystone颁发的token X-Subject-Token
分类:
其他好文 时间:
2014-07-13 00:42:45
阅读次数:
330
1,MySQL建库语句比较简单,一句话:1 create database tppamltest32,创建用户及授权:1 insert into mysql.user(Host,User,Password,ssl_cipher,x509_issuer,x509_subject) values("lo...
分类:
数据库 时间:
2014-07-07 09:02:47
阅读次数:
295
1 类图 观察者模式(ObserverPattern)也叫做发布订阅模式(Public/Subscribe)。 2 代码Subject被观察者 定义被观察者必须实现的职责,它必须能够动态的增加、取消观察者。它一般是抽象类或者是实现类,仅仅完成作为被观察者必须实现的职责:管理观察者并通知观察者。...
分类:
其他好文 时间:
2014-07-05 19:16:03
阅读次数:
168
#!/usr/bin/envpython
#-*-coding:utf8-*-
importsmtplib
fromemail.mime.textimportMIMEText
textfile=‘sendmail.html‘
withopen(textfile,‘rb‘)asf:
msg=MIMEText(fp.read(),‘html‘,‘utf8‘)
msg.set_charset(‘utf8‘)
me=‘xxx@163.com‘
you=‘xxxx@qq.com‘
msg[‘Subject‘]=..
分类:
编程语言 时间:
2014-07-04 06:41:33
阅读次数:
325
观察者模式定义对象之间的一对多的依赖,当那一个对象(主题)状态改变时,所有的依赖者(观察者)都会收到通知并作出相应的动作。
观察者模式的使用非常广泛。
代码实现:
-------------------主题接口
public interface Subject
{
public void registerObserver(Observer o);
p...
分类:
其他好文 时间:
2014-06-26 07:20:02
阅读次数:
194
Android开发环境搭建时遇到问题的解决方法
错误1:
The connection to adb is down, and a severe error has occured.
[2013-08-31 16:11:56 -com.qihoo.subject]
You must restart adb and Eclipse.
[2013-08-31 16:11:56...
分类:
移动开发 时间:
2014-06-24 23:51:52
阅读次数:
514