Skip to main content
  • 博客
    • div+css 博客
    • javascript 博客
      • vue 博客
    • php 博客
      • 微信 博客
  • php
    • drupal
    • composer
    • thinkphp
    • onethink
    • laravel
    • Swoole
    • dedecms
    • magento
    • smarty
    • ecshop
    • zencart
    • joomla
    • discuz
    • wordpress
    • yii
    • 微信
    • 抖音
    • ci
    • weiphp
    • destoon
  • python
    • plone
  • apache
  • nginx
  • cache
    • memcache
    • redis
  • div+css
  • javascript
    • jquery
    • typescript
    • Vue.js
    • Amaze
    • zepto
    • react
    • underscore
    • backbone
    • angular
    • lodash
    • layui
    • js特效
  • vbscript
  • photoshop ai
  • sql
    • mysql
    • mssql
    • oracle
  • regular
  • node.js
  • 腾讯开放平台
  • dreamweaver
  • linux
  • seo
  • app
  • asp及asp.net
  • flash
  • iis
  • java
  • mac
  • wap
  • windows
    • dos
    • 打印机
  • 其它
  • 浏览器
  • 网络
  • AD域 (exchange)
  • 虚拟机
  • AC
  • ai
  • 简写翻译

欢迎各位兄弟 发布技术文章

这里的技术是共享的

个人技术网_前端_后台_php_div_css_linux_javascript_seo 个人技术网_前端_后台_php_div_css_linux_javascript_seo

搜索表单

用户登录

  • 重设密码

laravel图片和文件的上传

星期日, 2017-05-07 17:22 — adminshiping1

普通分类: 
laravel
  • Read more about laravel图片和文件的上传

在Laravel项目中实现Ajax上传用户头像

星期日, 2017-05-07 17:21 — adminshiping1
在编写web程序的过程中,经常会遇到一个经典的文件上传场景:上传头像(图片)。
普通分类: 
laravel
  • Read more about 在Laravel项目中实现Ajax上传用户头像

laravel intervention image 怎么实现头像上传

星期日, 2017-05-07 17:17 — adminshiping1
通过 composer 安装 composer intervention/image
普通分类: 
laravel
  • Read more about laravel intervention image 怎么实现头像上传

Laravel update or create an Item create input:all input:all() Request:all()

星期日, 2017-05-07 15:09 — adminshiping1
 
普通分类: 
laravel
  • Read more about Laravel update or create an Item create input:all input:all() Request:all()

固定电话+手机号码正则表达式

星期日, 2017-05-07 14:49 — adminshiping1

固定电话+手机号码正则表达式

普通分类: 
regular
  • Read more about 固定电话+手机号码正则表达式

js验证固定电话、手机号码

星期日, 2017-05-07 14:49 — adminshiping1

规则的国内固定电话和传真的格式基本都是带有

普通分类: 
regular
  • Read more about js验证固定电话、手机号码

DB 方式插入数据

星期日, 2017-05-07 13:23 — adminshiping1
$data = array(
    array(
普通分类: 
laravel
  • Read more about DB 方式插入数据

LARAVEL 5 使用DB-RAW DB::raw SQL搭配PAGINATION 自动分页功能

星期日, 2017-05-07 10:08 — adminshiping1
有个SQL的存取资料是使用DB-RAW SQL的写法而不是ORM,如下
普通分类: 
laravel
  • Read more about LARAVEL 5 使用DB-RAW DB::raw SQL搭配PAGINATION 自动分页功能

查询构造器

星期日, 2017-05-07 10:06 — adminshiping1

查询构造器

    普通分类: 
    laravel
    • Read more about 查询构造器

    db::raw db::insert db::connect db::table 500 都要查一下是什么意思

    星期日, 2017-05-07 10:02 — adminshiping1
    普通分类: 
    laravel
    • Read more about db::raw db::insert db::connect db::table 500 都要查一下是什么意思

    Eloquent ORM

    星期日, 2017-05-07 09:32 — adminshiping1

    Eloquent ORM

      普通分类: 
      laravel
      • Read more about Eloquent ORM

      laravel whereRaw 和 where(DB::raw(''))

      星期日, 2017-05-07 09:30 — adminshiping1
      laravel whereRaw 和 where(DB::raw(''))

       

      看标题就知道,明显whereRaw似乎是专业和靠谱一些

      普通分类: 
      laravel
      • Read more about laravel whereRaw 和 where(DB::raw(''))

      《用chsh选择shell》-linux命令五分钟系列之十二

      星期六, 2017-05-06 23:55 — adminshiping1

      chsh命令用于修改你的登录shell

      普通分类: 
      linux
      • Read more about 《用chsh选择shell》-linux命令五分钟系列之十二

      理解 bashrc 和 profile

      星期六, 2017-05-06 23:54 — adminshiping1
      普通分类: 
      linux
      • Read more about 理解 bashrc 和 profile

      bash: /home/aaaaa/.bashrc: 权限不够怎么在终端里改变~/.bashrc 的权限 有大用

      星期六, 2017-05-06 23:40 — adminshiping1
           最近在登入一台远程服务器的时候发现.bashrc不能执行,就是表现为在.bashrc中配置好的自动补全以及ls颜色等等的东西没有执行,很是郁闷,在网上查阅了很多资料后,终于突然醒悟了。

       

               解决方法如下:

      普通分类: 
      linux
      • Read more about bash: /home/aaaaa/.bashrc: 权限不够怎么在终端里改变~/.bashrc 的权限 有大用

      Do not run Composer as root/super user! See https://getcomposer.org/root for details

      星期六, 2017-05-06 23:23 — adminshiping1

      compser 执行命令提示do not run composer as root/super !

      普通分类: 
      laravel
      • Read more about Do not run Composer as root/super user! See https://getcomposer.org/root for details

      composer更新不成功,启用国内镜像网站的配置更改办法

      星期六, 2017-05-06 21:53 — adminshiping1
      composer更新不成功,启用国内镜像网站的配置更改办法
      普通分类: 
      composer
      • Read more about composer更新不成功,启用国内镜像网站的配置更改办法

      Packagist 镜像使用方法

      星期六, 2017-05-06 20:44 — adminshiping1

       

      普通分类: 
      laravel
      • Read more about Packagist 镜像使用方法

      官网 composer

      星期六, 2017-05-06 20:43 — adminshiping1
      https://getcomposer.org/
      普通分类: 
      laravel
      • Read more about 官网 composer

      cenots下从官网安装composer无法安装的解决办法 无法下载

      星期六, 2017-05-06 20:41 — adminshiping1

      cenots下从官网安装composer无法安装的解决办法

      时间
      普通分类: 
      laravel
      • Read more about cenots下从官网安装composer无法安装的解决办法 无法下载

      linux CentOS 7 下如何安装使用Composer 有大用 有大大用

      星期六, 2017-05-06 20:28 — adminshiping1

      Composer 是 PHP 的一个依赖管理工具。它允许你申明项目所依赖的代码库,它会在你的项目中为你安装他们。Composer 不是一个包管理器。它在每个项目的基础上进行管理,在你项目的某个目录中进行安装。默认情况下它不会在全局安装任何东西。因此,这仅仅是一个依赖管理。

      普通分类: 
      laravel
      • Read more about linux CentOS 7 下如何安装使用Composer 有大用 有大大用

      ubuntu下安装和使用php的fileinfo扩展

      星期六, 2017-05-06 20:03 — adminshiping1
      PHP 的Fileinfo 扩展是libmagic库的一个封装,可以用来获得文件的一些信息,如MIME类型,可以用来更好地代替m
      普通分类: 
      laravel
      • Read more about ubuntu下安装和使用php的fileinfo扩展

      Centos 下编译安装fileinfo扩展 有大用 有大大用

      星期六, 2017-05-06 19:49 — adminshiping1

      0.why complie fileinfo extension

      普通分类: 
      php
      • Read more about Centos 下编译安装fileinfo扩展 有大用 有大大用

      PHP Warning: PHP Startup: fileinfo: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20121212 These options need to match 有大用

      星期六, 2017-05-06 19:26 — adminshiping1
      在命令行执行 php 时,发现报 PHP Warning:  PHP Startup: fileinfo: Unable to initialize module Module compiled with module API=20090626 PHP    compiled with module API=20121212 These options need to match 这个错
      解决思路如下:
      1)在 /www/wdlinux/apache_php-5.5.9/etc/php.ini
      文件中 先注释掉 fileinfo 模块的信息,这样 apache 启动的时候就不加载进来了
      2)重启 apache  后 再执行 php 命令 就没有错了 这说明是 fileinfo模块出了问题 
      普通分类: 
      php
      • Read more about PHP Warning: PHP Startup: fileinfo: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20121212 These options need to match 有大用

      mysql having的用法

      星期六, 2017-05-06 12:50 — adminshiping1
      having的用法

      having字句可以让我们筛选成组后的各种数据,where字句在聚合前先筛选记录,也就是说作用在group by和having字句前。而 having子句在聚合后对组记录进行筛选。

      SQL实例:

      一、显示每个地区的总人口数和总面积.
      SELECT region, SUM(population), SUM(area) FROM bbc GROUP BY region

      普通分类: 
      mysql
      • Read more about mysql having的用法

      Mysql中order by、group by、having的区别

      星期六, 2017-05-06 12:49 — adminshiping1
      order by 从英文里理解就是行的排序方式,默认的为升序。 order by 后面必须列出排序的字段名,可以是多个字段名。 
       
      group by 从英文里理解就是分组。必须有“聚合函数”来配合才能使用,使用时至少需要一个分组标志字段。
      普通分类: 
      mysql
      • Read more about Mysql中order by、group by、having的区别

      MySQL中函数CONCAT及GROUP_CONCAT

      星期六, 2017-05-06 12:26 — adminshiping1
      一、CONCAT()函数

      CONCAT()函数用于将多个字符串连接成一个字符串。
      使用数据表Info作为示例,其中SELECT id,name FROM info LIMIT 1;的返回结果为
      +----+--------+
      | id | name   |

      普通分类: 
      mysql
      • Read more about MySQL中函数CONCAT及GROUP_CONCAT

      group by order by 先后顺序先后次序

      星期六, 2017-05-06 12:15 — adminshiping1
      select * from test group by category_id order by `date` 这是先分组 再按时间顺序排列排序
      普通分类: 
      mysql
      • Read more about group by order by 先后顺序先后次序

      查询构建器 关系对象模型 eloquent 中 如何使用查询构器

      星期六, 2017-05-06 11:09 — adminshiping1
      $activitys = Activity::join(
      普通分类: 
      laravel
      • Read more about 查询构建器 关系对象模型 eloquent 中 如何使用查询构器

      Laravel 5 query builder where exists whereexists example whereRaw 例子 有大用 有大大用

      星期六, 2017-05-06 02:20 — adminshiping1

      下面这两个例子是自己亲自做的 有大用 红色部分就是不同的地方

      普通分类: 
      laravel
      • Read more about Laravel 5 query builder where exists whereexists example whereRaw 例子 有大用 有大大用

      页面

      • « 第一页
      • ‹ 前一页
      • …
      • 411
      • 412
      • 413
      • 414
      • 415
      • 416
      • 417
      • 418
      • 419
      • …
      • 下一页 ›
      • 末页 »
      Subscribe to 个人技术网_前端_后台_php_div_css_linux_javascript_seo RSS
      Powered by Drupal

      友情链接

      校园好文网

       www.shipingzhong.cn  个人技术网_前端_后台    备案号:苏ICP备18010659号-2