摘要: 1, //随机生成8位数字 function nonceStr() { static $seed = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); $str = ''; for ($i = 0; $i < 6; $i++) { $rand = rand(0, count( 阅读全文
posted @ 2020-09-05 18:24 琥珀君 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1, // 数据库操作 /* mysql -hlocalhost -uroot -p set names gbk; show databases; CREATE DATABASE IF NOT EXISTS `oupai` CHARSET utf8; USE oupai; show tables; 阅读全文
posted @ 2020-09-05 18:18 琥珀君 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 1, 解决方案: 直接在CSS 文件中添加下面的代码,就可以实现了在手机端禁止粘贴复制的功能: *{ -webkit-touch-callout:none; /*系统默认菜单被禁用*/ -webkit-user-select:none; /*webkit浏览器*/ -khtml-user-selec 阅读全文
posted @ 2020-09-05 17:50 琥珀君 阅读(658) 评论(0) 推荐(0) 编辑