摘要: 1.ftp连接自己的服务器,将TP5整个框架文件加整体拖到www/wwwroot目录下指定,并修改文件夹为自己的项目名。 2.登陆宝塔(服务器IP:8888),点击“网站-添加站点”。3.用自己的www域名解析一个域名,解析值填写自己的服务器IP,添加站点处填写这个域名,根目录指向www/wwwro 阅读全文
posted @ 2022-05-19 15:23 柒小乐 阅读(1688) 评论(0) 推荐(0) 编辑
摘要: touch .gitignore 阅读全文
posted @ 2022-04-21 13:32 柒小乐 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 打开 VisualStudioCode Ctrl+Shift+X ,在左侧扩展中输入LanguagePacks 安装后点击右下角Restart 重启 阅读全文
posted @ 2021-11-07 12:20 柒小乐 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 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 柒小乐 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 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 柒小乐 阅读(15634) 评论(2) 推荐(0) 编辑
摘要: 恢复内容开始 查看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 柒小乐 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 在已经架设好的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 柒小乐 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 1 DB::select("CREATE TABLE ".$new_table." SELECT * FROM ".$old_table." WHERE 1=2"); 阅读全文
posted @ 2020-05-13 11:18 柒小乐 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 基本形状 ▲ 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 柒小乐 阅读(4470) 评论(0) 推荐(1) 编辑
摘要: 1 array_filter(数组) 阅读全文
posted @ 2018-12-13 11:11 柒小乐 阅读(717) 评论(0) 推荐(0) 编辑
摘要: 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 柒小乐 阅读(2651) 评论(0) 推荐(1) 编辑
摘要: DOMSubtreeModified: 在DOM结构发生任何变化的时候。这个事件在其他事件触发后都会触发; 1 $(".attr_box").bind("DOMSubtreeModified",function(e){ 2 //监听事件操作 3 }); DOMNodeInserted: 当一个节点作 阅读全文
posted @ 2018-11-13 10:48 柒小乐 阅读(1284) 评论(0) 推荐(0) 编辑
摘要: str.replace(/[^\d.]/g,"") 阅读全文
posted @ 2018-10-30 14:57 柒小乐 阅读(3100) 评论(0) 推荐(0) 编辑
摘要: <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 柒小乐 阅读(1472) 评论(0) 推荐(0) 编辑
摘要: 1.在click事件触发时,先打开空白页面 2.在事件操作后,写入空白页面的链接 阅读全文
posted @ 2018-10-30 10:59 柒小乐 阅读(12842) 评论(0) 推荐(0) 编辑