会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
阿星小栈
开开心心吃饭 乐乐呵呵睡觉
博客园
首页
新随笔
联系
管理
订阅
[置顶]
将博客搬至CSDN
摘要: https://blog.csdn.net/u010244476
阅读全文
posted @ 2018-10-19 10:38 阿星小栈
阅读(116)
评论(0)
推荐(0)
[置顶]
laravel whereRaw 和 where(DB::raw('')) 阿星小栈
摘要: laravel whereRaw 和 where(DB::raw('')) 看标题就知道,明显whereRaw似乎是专业和靠谱一些 用 where(DB::raw(''))的时候,结尾会被增加一个莫名其妙的 is null() 用toSql()发现的。 $student=DB::table("vip
阅读全文
posted @ 2018-03-06 09:56 阿星小栈
阅读(11609)
评论(0)
推荐(2)
2019年4月19日
php 面试题
摘要:
阅读全文
posted @ 2019-04-19 14:05 阿星小栈
阅读(106)
评论(0)
推荐(0)
2019年2月13日
简明git教程(单人版本) 阿星小栈
摘要: 最近开始写一个比较大的东西,所以需要用到git,之前一直在用金山快盘和乌龟搭建的SVN,最近想尝试一下git 1.安装 Ubuntu: 1 sudo apt-get install git 老版本的Ubuntu下: 1 sudo apt-get install git-core 其他版本的Linux
阅读全文
posted @ 2019-02-13 11:52 阿星小栈
阅读(198)
评论(0)
推荐(0)
2018年11月15日
Laravel SQL 查询语句集锦 阿星小栈
摘要: 1、从数据表中取得单一数据列 $user= DB::table('users')->where('name','John')->first(); 2、检索表中的所有行 复制代码代码如下: $users = DB::table('users')->get(); foreach ($users as $
阅读全文
posted @ 2018-11-15 13:26 阿星小栈
阅读(193)
评论(0)
推荐(0)
PHP生成唯一订单号 阿星小栈
摘要: 原文:https://blog.csdn.net/chajinglong/article/details/52598757
阅读全文
posted @ 2018-11-15 13:17 阿星小栈
阅读(180)
评论(0)
推荐(0)
php根据ID生成员工编号 阿星小栈
摘要: csdn地址:https://blog.csdn.net/u010244476/article/details/84101881
阅读全文
posted @ 2018-11-15 11:54 阿星小栈
阅读(423)
评论(0)
推荐(0)
2018年11月13日
laravel框架获取当前url 的方法 阿星小栈
摘要: 1. 使用 Request 类: $url = Request::getRequestUri(); 2. 使用 $request 对象: public function show(Request $request) { $url = $request->url(); } 3. 使用 URL 类: $
阅读全文
posted @ 2018-11-13 10:25 阿星小栈
阅读(406)
评论(0)
推荐(0)
2018年11月7日
Laravel 通过Url确定返回错误信息格式 阿星小栈
摘要: 路径:项目/app/Exceptions/Handler.php
阅读全文
posted @ 2018-11-07 17:10 阿星小栈
阅读(234)
评论(0)
推荐(0)
电脑用js调用QQ 聊天 阿星小栈
摘要: 第一种是链接的方式: 注:target=”_blank”在a标签加上这个,如果对方不在线会提醒打开qq,如果对方在线会提示添加好友页面 如果a标签不加target=”_blank”,弹框会闪退 第二种是通过window.open(): 援引:https://blog.csdn.net/zshsats
阅读全文
posted @ 2018-11-07 13:57 阿星小栈
阅读(482)
评论(0)
推荐(0)
2018年11月5日
js 设置cookie和获取cookie 阿星小栈
摘要: 设置cookie function setCookie(c_name, value, expiredays) { var exdate = new Date(); exdate.setTime(Number(exdate) + expiredays); document.cookie = c_nam
阅读全文
posted @ 2018-11-05 16:11 阿星小栈
阅读(315)
评论(0)
推荐(0)
php + ajax异步上传文件 阿星小栈
摘要: html代码 PHP代码
阅读全文
posted @ 2018-11-05 15:56 阿星小栈
阅读(167)
评论(0)
推荐(0)
2018年10月31日
MISCONF Redis is configured to save RDB snapshots, but it is currently not able to... 阿星小栈
摘要: 今天重启游戏服务器在连接redis数据库时突然报错:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify
阅读全文
posted @ 2018-10-31 15:40 阿星小栈
阅读(438)
评论(0)
推荐(0)
laravel 获取 当前url 的方法, 有的是获取 全部url 有的只获取 主页其他 部分 阿星小栈
摘要: 1. 使用 Request 类: $url = Request::getRequestUri(); 2. 使用 $request 对象: public function show(Request $request) { $url = $request->url(); } 3. 使用 URL 类: $
阅读全文
posted @ 2018-10-31 10:53 阿星小栈
阅读(908)
评论(0)
推荐(0)
2018年10月18日
身份证号码正则表达式 阿星小栈
摘要: 原文:https://www.93jc.cn/article/61.html
阅读全文
posted @ 2018-10-18 17:44 阿星小栈
阅读(451)
评论(0)
推荐(0)
2018年10月17日
FileZilla FTP 425 Can't open data connection 问题解决办法 阿星小栈
摘要: FTP各种连不上,网上各种查之后说是被动模式配置端口 https://blog.csdn.net/qq_16030133/article/details/79962153 服务端用的是FileZilla,进入FileZilla设置里面切换成被动加上端口: 结果发现还是不行,原来是阿里云的安全组也要把
阅读全文
posted @ 2018-10-17 14:39 阿星小栈
阅读(1020)
评论(0)
推荐(0)
下一页