//邮件发送
$config=get_cache(‘sendmail‘);$siteconfigs=get_cache(‘siteconfigs‘);$password=decode($config[‘password‘]);//load_function(‘sendmail‘);
$t=date(‘YmdHis‘);$subject=‘有新的订单‘;$message=$formdata[‘title‘]."电话:".$formdata[‘mobile‘].date(‘Y-m-dH:i..
分类:
其他好文 时间:
2016-05-19 19:35:28
阅读次数:
133
内容选自:《javascript语言精粹》 1.6种值会为假(==false),分别是false,null,undefined,' ',0,NaN 2.typeof有6种值,分别是'number','string','boolean','undefined','function','object'; ...
分类:
编程语言 时间:
2016-05-19 19:23:20
阅读次数:
199
出现错误提示: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See onl ...
分类:
其他好文 时间:
2016-05-19 19:15:34
阅读次数:
3614
一、前言 做了两题才慢慢摸清了leetcode的操作。 二、题349 Intersection of Two Arrays Given two arrays, write a function to compute their intersection. 其实前两题不难,思路也还比较清晰。 ...
分类:
编程语言 时间:
2016-05-19 19:07:17
阅读次数:
999
window.onload = function showDate() { var now = new Date(); var year = now.getFullYear(); var month = (now.getMonth() + 1 > 9) ? now.getMonth() + 1 : ...
分类:
Web程序 时间:
2016-05-19 19:05:53
阅读次数:
148
STL之算法总结
查找算法示例(13个):判断容器中是否包含某个值
1.adjacent_find:
所有容器适用(线性的)
adjacent_find(begin,end);
adjacent_find(begin,end,function);
在范围[first,last)之...
分类:
编程语言 时间:
2016-05-19 17:48:48
阅读次数:
189
//构造函数 function Box(name,age) this.name = name; //实例属性 this.age = age; this.run = function(){ //实例方法 return this.name+this.age+"运行中" } //原型 (共享) funct ...
分类:
Web程序 时间:
2016-05-19 16:31:47
阅读次数:
262
在了解这个函数之前先来看另一个函数:__autoload。 一、__autoload 这是一个自动加载函数,在PHP5中,当我们实例化一个未定义的类时,就会触发此函数。看下面例子: printit.class.php <?php class PRINTIT { function doPrint() ...
分类:
其他好文 时间:
2016-05-19 16:27:39
阅读次数:
194
ajaxFileUpload 报这错jQuery.handleError is not a function:版本问题。 ...
分类:
Web程序 时间:
2016-05-19 15:12:34
阅读次数:
319
理解闭包三个基本的事实 第一个事实:js允许你引用在当前函数以外定义的变量。 function makeSandwich(){ var magicIngredient=”peanut butter”; function make(filling){ return magicIngredient+’a ...
分类:
编程语言 时间:
2016-05-19 15:00:18
阅读次数:
209