上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 41 下一页
摘要: https://blog.csdn.net/babyxue/article/details/80970526 阅读全文
posted @ 2019-11-20 14:49 study_php_java_C++ 阅读(106) 评论(0) 推荐(0)
摘要: /** * 去除html标签和空格回车等 * @param $string * @return string */ function cutstr_html($string){ $string = strip_tags($string); $string = trim($string); $stri 阅读全文
posted @ 2019-11-13 17:40 study_php_java_C++ 阅读(747) 评论(0) 推荐(0)
摘要: 我用来实现自动全备份的脚本(可以满足一般有前后版本兼容要求的导出导入操作,我的字符集是latin1): mysqldump.exe -umyusername -pmypass -h localhost -P 3306 --triggers=false --complete-insert -q --e 阅读全文
posted @ 2019-11-11 15:23 study_php_java_C++ 阅读(396) 评论(0) 推荐(0)
摘要: overflow: hidden; white-space: nowrap; text-overflow: ellipsis; 代码如上 line-clamp 为文本行数 超过则截断 overflow: hidden; text-overflow: ellipsis; display: -webki 阅读全文
posted @ 2019-11-10 22:14 study_php_java_C++ 阅读(1451) 评论(0) 推荐(0)
摘要: 回顾 npm install 命令 最近在写Node程序的时候,突然对 npm install 的-save和-save-dev 这两个参数的使用比较混乱。其实博主在这之前对这两个参数的理解也是模糊的,各种查资料和实践后对它们之间的异同点略有理解。遂写下这篇文章避免自己忘记,同时也给node猿友一点 阅读全文
posted @ 2019-11-08 17:06 study_php_java_C++ 阅读(125) 评论(0) 推荐(0)
摘要: // 监听回车事件 判断是否属于是input激活状态下回车的window.onkeydown = function(e){ // elsinput是搜索框 if(e.keyCode 13 && elsinput.is(':focus')){ window.location.href = url + 阅读全文
posted @ 2019-11-08 15:16 study_php_java_C++ 阅读(1687) 评论(0) 推荐(1)
摘要: 一.在html页面head中 <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> 二.引入一个reset. 阅读全文
posted @ 2019-11-07 21:53 study_php_java_C++ 阅读(109) 评论(0) 推荐(0)
摘要: 或 阅读全文
posted @ 2019-11-01 16:03 study_php_java_C++ 阅读(2317) 评论(0) 推荐(0)
摘要: PHP传给JS字符串用ecsape转换加到url里,又用PHP接收,再用网上找的unscape函数转换一下,这样得到的字符串是UTF-8的,但我需要的是GB2312,于是用iconv转换 开始是这样用的 $str = iconv(‘UTF-8’, ‘GB2312’, unescape(isset($ 阅读全文
posted @ 2019-10-30 16:30 study_php_java_C++ 阅读(1142) 评论(0) 推荐(0)
摘要: 路由是一行一行匹配的 阅读全文
posted @ 2019-10-29 17:56 study_php_java_C++ 阅读(447) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 41 下一页