上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 54 下一页
摘要: 参考网址:http://www.phpcomposer.com https://packagist.org 1、linux 安装Composer curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/l 阅读全文
posted @ 2017-01-15 18:23 cogitoergosum 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://segmentfault.com/q/1010000000721799 通过curl方式获取压缩包名: 2、curl -O -d "key=val" url 这样返回的内容就保存为同名文件了。 阅读全文
posted @ 2017-01-13 13:55 cogitoergosum 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://imququ.com/post/four-ways-to-post-data-in-http.html http://blog.csdn.net/leyangjun/article/details/38726049 Content-Type 主要有4种 表单有两种: ap 阅读全文
posted @ 2017-01-10 22:34 cogitoergosum 阅读(2908) 评论(0) 推荐(0) 编辑
摘要: 1、由于没有组件化,通过添加class或删除class时,不能刷新。 更换背景图片的url的class可以通过增删class实现切换 2、iframe的作用: 一、实现当前页面的css、link、script路径不受父类的影响,完全为独立的 3、js 二维数组的建立。 var typeToData 阅读全文
posted @ 2016-12-27 17:37 cogitoergosum 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 参考链接: http://www.cnblogs.com/shytong/p/5005704.html 由于是回调函数,事先就需要先把数据储存在event上,否则只能用全局变量做为参数传递,建议用bind方式 阅读全文
posted @ 2016-12-23 11:22 cogitoergosum 阅读(8023) 评论(0) 推荐(0) 编辑
摘要: 课时 《面向对象工具[1]》。 语法: __autoload、 __call、__tostring、__clone 1、 autoload 自动引用类、不用包含类,call屏蔽调用类方法不存在的错误,clone 是复制clone 对象的所有内容,但clone之后,是不同的对象 2、php反射含义: 阅读全文
posted @ 2016-12-18 12:03 cogitoergosum 阅读(675) 评论(0) 推荐(0) 编辑
摘要: 参考文章: http://blog.csdn.net/rl529014/article/details/51336161 http://blog.csdn.net/lin_fs/article/details/7804494 http://blog.csdn.net/querdaizhi/artic 阅读全文
posted @ 2016-12-03 15:36 cogitoergosum 阅读(5356) 评论(0) 推荐(0) 编辑
摘要: 1、防止arp广播风暴的两种方法 1、路由器隔离 2、把广播域划分为小的广播域,这种方式叫vlan 技术 //虚拟局域网技术 2、网络之间的通讯, 源ip、目的ip是不会变,而只是在不同设备通讯时,更新源mac地址 3、 1、桥接模式 中继模式 中继模式跟桥接模式的使用方法一致 2、路由模式 3、N 阅读全文
posted @ 2016-12-02 16:46 cogitoergosum 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 总体来说,使用map最简单。支持查找,获取下标不存在也不会出错 map是使用rbtree结构, vector是用连续获取内存的方法,类似hash结构、list是链表结构, 不支持下标。 map: 支持元素查找,提供find()查找。 可以直接进行遍历。可以像数组下标那样直接访问赋值。 遍历方式: f 阅读全文
posted @ 2016-11-28 15:32 cogitoergosum 阅读(1448) 评论(0) 推荐(0) 编辑
摘要: 当php文件用require方式包含了另外一个文件,这另外文件引用的图片是相对目录下的内容时,而该相对目录是指包含目录的文件的 index.php default 目录 query.tpl warngif 目录 index.php require realpath(dirname(__FILE__) 阅读全文
posted @ 2016-11-14 09:24 cogitoergosum 阅读(160) 评论(0) 推荐(0) 编辑
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 54 下一页