• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
xwlong
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 7 下一页
2017年11月21日
iis7服务器隐藏index.php
摘要: 1、安装url重写模块 32位:http://download.microsoft.com/download/4/9/C/49CD28DB-4AA6-4A51-9437-AA001221F606/rewrite_x86_zh-CN.msi 64位:http://download.microsoft. 阅读全文
posted @ 2017-11-21 10:35 xwlong 阅读(2376) 评论(0) 推荐(0)
2017年11月20日
php命名空间
摘要: http://blog.csdn.net/think2me/article/details/43114963这篇文章写得不错,通俗易懂。 namespace foo; class test{} $test = new foo\test(); 阅读全文
posted @ 2017-11-20 17:22 xwlong 阅读(118) 评论(0) 推荐(0)
thinkphp5.0 composer安装phpmailer
摘要: 1、安装:composer require phpmailer/phpmailer 2、引入:use PHPMailer\PHPMailer\PHPMailer; 3、调用:$mail = new PHPMailer (); 阅读全文
posted @ 2017-11-20 14:04 xwlong 阅读(5832) 评论(0) 推荐(0)
2017年11月17日
php输入流简单小例子
摘要: public function captchaTest(){ $content = file_get_contents("php://input"); return json_decode($content, true); } 阅读全文
posted @ 2017-11-17 14:20 xwlong 阅读(166) 评论(0) 推荐(0)
2017年11月16日
js、php判断手机PC
摘要: 用于phpcms 阅读全文
posted @ 2017-11-16 22:01 xwlong 阅读(514) 评论(0) 推荐(0)
thinkphp5.0 空模块、空控制器、空方法
摘要: 空模块 或者 空控制器 空方法 阅读全文
posted @ 2017-11-16 16:26 xwlong 阅读(2549) 评论(0) 推荐(0)
thinkphp5.0 路由规则配置
摘要: 开启路由‘url_route_on’ => true 首页路由'/' =>'home/index/index' 其它路由(1)'route' => 'home/index/routeTest'(2)'route/[:name]' => ['home/index/routeTest', ['metho 阅读全文
posted @ 2017-11-16 12:26 xwlong 阅读(2120) 评论(0) 推荐(0)
2017年11月15日
thinkphp5.0验证码使用
摘要: 如果没有安装验证码类,可在composer.json 文件的require里面添加 "topthink/think-captcha":"1.*",然后composer update即可 thinkphp5.0内置验证码 页面调用方式<img src="{:captcha_src()}" onclic 阅读全文
posted @ 2017-11-15 17:50 xwlong 阅读(3360) 评论(0) 推荐(0)
2017年11月14日
js数组增删
摘要: 1、shift() 2、pop() 3、push() 4、unshift() 5、splice(start,num,string...) 阅读全文
posted @ 2017-11-14 15:17 xwlong 阅读(129) 评论(0) 推荐(0)
js数组方法
摘要: 1、slice(start,end)返回 介于start和end之间的元素所组成的数组 2、indexOf(value)返回元素的位置 3、toString()将数组转化为字符串 4、sort()对数组排序,改变原数组 5、join(separator)将数组以指定分隔符转化为字符串 阅读全文
posted @ 2017-11-14 15:12 xwlong 阅读(136) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3