会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
柒小乐
博客园
首页
新随笔
联系
管理
2022年5月19日
宝塔配置thinkphp5 部署搭建
摘要: 1.ftp连接自己的服务器,将TP5整个框架文件加整体拖到www/wwwroot目录下指定,并修改文件夹为自己的项目名。 2.登陆宝塔(服务器IP:8888),点击“网站-添加站点”。3.用自己的www域名解析一个域名,解析值填写自己的服务器IP,添加站点处填写这个域名,根目录指向www/wwwro
阅读全文
posted @ 2022-05-19 15:23 柒小乐
阅读(2040)
评论(0)
推荐(0)
2022年4月21日
git 忽略文件夹上传
摘要: touch .gitignore
阅读全文
posted @ 2022-04-21 13:32 柒小乐
阅读(36)
评论(0)
推荐(0)
2021年11月7日
Visual Studio Code 设置中文
摘要: 打开 VisualStudioCode Ctrl+Shift+X ,在左侧扩展中输入LanguagePacks 安装后点击右下角Restart 重启
阅读全文
posted @ 2021-11-07 12:20 柒小乐
阅读(334)
评论(0)
推荐(0)
2021年3月8日
PHP 数据导出Excel
摘要: 1 public function index(Request $request){ 2 $list=DB::table("goods_order")->whereNotNull("accept_mobile")->get()->toArray(); 3 $new=[]; 4 foreach($li
阅读全文
posted @ 2021-03-08 11:36 柒小乐
阅读(102)
评论(0)
推荐(0)
2021年1月3日
Javascript 手机号正则验证
摘要: var str="手机号码"; var myreg=/^[1][3,4,5,7,8,9][0-9]{9}$/; if (!myreg.test(str)) { alert("请填写正确的手机号码"); } else { alert("手机号码填写正确"); }
阅读全文
posted @ 2021-01-03 10:23 柒小乐
阅读(15689)
评论(2)
推荐(0)
2020年6月5日
Centos7搭建laravel流程
摘要: 恢复内容开始 查看PHP版本: php -v 如果报错:-bash: php: command not found 添加软连接:ln -s /www/wdlinux/phps/73/bin/php /usr/local/bin/php 红色为PHP使用版本的安装路径 安装composer curl
阅读全文
posted @ 2020-06-05 11:09 柒小乐
阅读(397)
评论(0)
推荐(0)
2020年5月23日
在WDCP上架设laravel
摘要: 在已经架设好的linux服务器中架设laravel项目 1、确认php的版本:#php -v 2、安装composer: 1)进入到php目录下 ,执行命令安装 curl -S https://getcomposer.org/installer | ./php /www/wdlinux/phps/7
阅读全文
posted @ 2020-05-23 10:47 柒小乐
阅读(334)
评论(0)
推荐(0)
2020年5月13日
DB 复制表结构
摘要: 1 DB::select("CREATE TABLE ".$new_table." SELECT * FROM ".$old_table." WHERE 1=2");
阅读全文
posted @ 2020-05-13 11:18 柒小乐
阅读(440)
评论(0)
推荐(0)
2019年2月14日
css3 content 特殊字符和符号
摘要: 基本形状 ▲ 9650 25B2 ► 9658 25BA ► 9658 25BA ▼ 9660 25BC◄ 9668 25C4 ❤ 10084 2764 ✈ 9992 2708 ★ 9733 2605✦ 10022 2726 ☀ 9728 2600 ◆ 9670 25C6 ◈ 9672 25C8▣
阅读全文
posted @ 2019-02-14 20:57 柒小乐
阅读(4542)
评论(0)
推荐(1)
2018年12月13日
PHP 清除数组中的空值子集
摘要: 1 array_filter(数组)
阅读全文
posted @ 2018-12-13 11:11 柒小乐
阅读(730)
评论(0)
推荐(0)
2018年12月11日
Input type=number 样式清除
摘要: 1 /* 普通IE浏览器 样式清除 */ 2 input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{ 3 -webkit-appearance: none !important; 4 } 5 /* 火狐浏览器样式清除 */ 6 input[type="number"]{ 7 -moz-appearanc...
阅读全文
posted @ 2018-12-11 11:02 柒小乐
阅读(2659)
评论(0)
推荐(1)
2018年11月13日
JQuery 节点监听
摘要: DOMSubtreeModified: 在DOM结构发生任何变化的时候。这个事件在其他事件触发后都会触发; 1 $(".attr_box").bind("DOMSubtreeModified",function(e){ 2 //监听事件操作 3 }); DOMNodeInserted: 当一个节点作
阅读全文
posted @ 2018-11-13 10:48 柒小乐
阅读(1327)
评论(0)
推荐(0)
2018年10月30日
Jquery 只保留数字和小数点(正则)
摘要: str.replace(/[^\d.]/g,"")
阅读全文
posted @ 2018-10-30 14:57 柒小乐
阅读(3122)
评论(0)
推荐(0)
jquery判断浏览器的内核
摘要: <script type='text/javascript'> $(function(){ if($.browser.msie) { alert("IE浏览器"); }else if($.browser.opera) { alert("opera浏览器"); }else if($.browser.m
阅读全文
posted @ 2018-10-30 11:01 柒小乐
阅读(1475)
评论(0)
推荐(0)
Jquery 打开新页面
摘要: 1.在click事件触发时,先打开空白页面 2.在事件操作后,写入空白页面的链接
阅读全文
posted @ 2018-10-30 10:59 柒小乐
阅读(12889)
评论(0)
推荐(0)
下一页