随笔分类 -  php

上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
只有注册用户登录后才能阅读该文。
posted @ 2017-10-10 14:24 ノGHJ 阅读(3) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2017-10-10 14:23 ノGHJ 阅读(1) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2017-10-10 14:23 ノGHJ 阅读(1) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2017-10-10 14:21 ノGHJ 阅读(6) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2017-10-10 14:19 ノGHJ 阅读(1) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2017-09-29 19:15 ノGHJ 阅读(2) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2017-09-29 15:49 ノGHJ 阅读(9) 评论(0) 推荐(0)
摘要:此项目利用 TP+Redis+Nginx+nginx-rtmp-module+ffmpeg+HLS +Swoole 的架构方案 GitHub 地址:https://github.com/DOUBLE-Baller/momo QQ群:274904994 演示地址:live.logde.cn 优点介绍 阅读全文
posted @ 2017-09-27 18:05 ノGHJ 阅读(649) 评论(1) 推荐(0)
摘要:error_log("You messed up!", 3, "/var/tmp/my-errors.log"); 阅读全文
posted @ 2017-09-25 15:44 ノGHJ 阅读(245) 评论(0) 推荐(0)
摘要:eAccelerator = function_exists("eaccelerator_lock"); if(!$this->eAccelerator) { //$this->path = $path.($this->_mycrc32($name) % $this->hashNum).'.txt'; $this->... 阅读全文
posted @ 2017-09-22 10:38 ノGHJ 阅读(1055) 评论(0) 推荐(0)
摘要:1 /** 2 * php 生成唯一id 3 * https://blog.csdn.net/hzqghost/article/details/18914681 4 */ 5 function guid($factor='',$prefix='',$suffix=''){ 6 list($usec, $sec) = explode(" ", microtime()); ... 阅读全文
posted @ 2017-09-21 17:59 ノGHJ 阅读(1207) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2017-09-18 15:47 ノGHJ 阅读(2) 评论(0) 推荐(0)
摘要:条件查询 $customers = Customer::find()->where($cond)->all(); $cond就是我们所谓的条件,条件的写法也根据查询数据的不同存在差异,那么如何用yii2的方式来写查询条件呢? [[简单条件]] [[and]]:将不同的条件组合在一起,用法举例: [[ 阅读全文
posted @ 2017-09-13 00:28 ノGHJ 阅读(2772) 评论(0) 推荐(0)
摘要:if(ctype_space($userInfo['true_name'])){ $userInfo['true_name'] = null;}我默认给它空 阅读全文
posted @ 2017-09-12 18:18 ノGHJ 阅读(128) 评论(0) 推荐(0)
摘要:利用slice(start,end)方法对文件进行区域式的一个切割,每一个小部分一小部分的传过去 后台接收 并且存储继续和停止的判断就是最简单的页面变量来实现的定义全局的 这里我已经写的很简单了 但是还是有不足的地方 有需求大家下面留言提问 有bug 望大家改善也分享给我····差不多了该关电脑了· 阅读全文
posted @ 2017-09-11 12:55 ノGHJ 阅读(4692) 评论(0) 推荐(0)
摘要:<script> //拖拽上传开始 //-1.禁止浏览器打开文件行为 document.addEventListener("drop",function(e){ //拖离 e.preventDefault(); }) document.addEventListener("dragleave",fun 阅读全文
posted @ 2017-08-28 15:38 ノGHJ 阅读(298) 评论(0) 推荐(0)
摘要:<!DOCTYPE html><html><head> <meta charset="UTF-8"/></head><body><input type="file" value="上传" name="files"><div id="drop_area" style="border:3px dashe 阅读全文
posted @ 2017-08-28 15:29 ノGHJ 阅读(97) 评论(0) 推荐(0)
摘要:[php] view plain copy php:MafullController.class.php中写入上传方法: /** * webuploader 上传demo */ public function webuploader(){ // 如果是post提交则显示上传的文件 否则显示上传页面 阅读全文
posted @ 2017-08-28 14:50 ノGHJ 阅读(517) 评论(0) 推荐(0)
摘要:服务端为什么不能直接传大文件?跟php.ini里面的几个配置有关 upload_max_filesize = 2M //PHP最大能接受的文件大小 post_max_size = 8M //PHP能收到的最大POST值' memory_limit = 128M //内存上限 max_executio 阅读全文
posted @ 2017-08-28 14:36 ノGHJ 阅读(1485) 评论(0) 推荐(1)
摘要:<?php /** * 自动生成mysql数据字典 */ header("Content-type: text/html; charset=utf-8"); //配置数据库 $dbserver = "localhost"; $dbusername = "root"; $dbpassword = "r 阅读全文
posted @ 2017-08-24 09:59 ノGHJ 阅读(662) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页