码迷,mamicode.com
首页 >  
搜索关键字:function    ( 54714个结果
wuzhicms发送邮件
//邮件发送 $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语言精粹
内容选自:《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
解决vs2015使用fopen、fprintf等函数报错的问题
出现错误提示: '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刷题记录[python]——349 Intersection of Two Arrays
一、前言 做了两题才慢慢摸清了leetcode的操作。 二、题349 Intersection of Two Arrays Given two arrays, write a function to compute their intersection. 其实前两题不难,思路也还比较清晰。 ...
分类:编程语言   时间:2016-05-19 19:07:17    阅读次数:999
页面加载JS事件
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算法总结之查找算法示例
STL之算法总结           查找算法示例(13个):判断容器中是否包含某个值 1.adjacent_find:          所有容器适用(线性的)         adjacent_find(begin,end);         adjacent_find(begin,end,function);   在范围[first,last)之...
分类:编程语言   时间:2016-05-19 17:48:48    阅读次数:189
js原型
//构造函数 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
【转】详解spl_autoload_register()函数
在了解这个函数之前先来看另一个函数:__autoload。 一、__autoload 这是一个自动加载函数,在PHP5中,当我们实例化一个未定义的类时,就会触发此函数。看下面例子: printit.class.php <?php class PRINTIT { function doPrint() ...
分类:其他好文   时间:2016-05-19 16:27:39    阅读次数:194
ajax上传文件以及使用中常见问题处理
ajaxFileUpload 报这错jQuery.handleError is not a function:版本问题。 ...
分类:Web程序   时间:2016-05-19 15:12:34    阅读次数:319
[Effective JavaScript 笔记] 第11条:熟练掌握闭包
理解闭包三个基本的事实 第一个事实:js允许你引用在当前函数以外定义的变量。 function makeSandwich(){ var magicIngredient=”peanut butter”; function make(filling){ return magicIngredient+’a ...
分类:编程语言   时间:2016-05-19 15:00:18    阅读次数:209
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!