上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 发布订阅 <?php /* * This file is part of the Predis package. * * (c) Daniele Alessandri <suppakilla@gmail.com> * * For the full copyright and license info 阅读全文
posted @ 2022-11-17 14:35 菜的掉渣 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 3 /* 4 Based on PHP WebSocket Server 0.2 5 - http://code.google.com/p/php-websocket-server/ 6 - http://code.google.com/p/php-websocket-serve 阅读全文
posted @ 2022-11-17 09:44 菜的掉渣 阅读(47) 评论(0) 推荐(0) 编辑
摘要: onMounted(() => { console.log("onMounted"); document.body.style.setProperty('--el-component-size', '60px') }); 阅读全文
posted @ 2022-11-10 18:10 菜的掉渣 阅读(361) 评论(0) 推荐(0) 编辑
摘要: php版本: <?php // 将发送到客户端的本地文件 $local_file='abc.zip'; // 文件名 $download_file='your-download-name.zip'; // 设置下载速率(=> 31.2 kb/s) $download_rate=31.2; if(fi 阅读全文
posted @ 2022-11-04 13:46 菜的掉渣 阅读(81) 评论(0) 推荐(0) 编辑
摘要: $.ajaxPrefilter() /* 每次调用jquery的api发送ajax请求时都会先自动调用该方法 在这个函数中,可以拿到我们给Ajax提供的配置对象 options 从而能够统一的 为ajax请求 预先设置配置对象 */ $.ajaxPrefilter( function( option 阅读全文
posted @ 2022-10-28 18:29 菜的掉渣 阅读(248) 评论(0) 推荐(0) 编辑
摘要: class FsockService { public static function post($url, $param=[]){ $host = parse_url($url, PHP_URL_HOST); $port = 80; $errno = ''; $errstr = ''; $time 阅读全文
posted @ 2022-10-26 15:35 菜的掉渣 阅读(87) 评论(0) 推荐(0) 编辑
摘要: // 自己的重置样式代码,公用样式代码 * { box-sizing: border-box; } html { height: 100%; font-size: 14px; } body { height: 100%; color: #333; min-width: 1240px; font: 1 阅读全文
posted @ 2022-10-17 22:34 菜的掉渣 阅读(7) 评论(0) 推荐(0) 编辑
摘要: $.ajaxPrefilter(function (options, originalOptions, jqXHR) { //tm1、tm2表示开始时间、结束时间 var requestType, params, startTime, endTime; requestType = (original 阅读全文
posted @ 2022-09-22 13:31 菜的掉渣 阅读(145) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <button @click="downLoad">下载</button> <p> 下载进度:{{downLoadProgress}} </p> </div> </template> <script setup> import { ref } from '@vue/ 阅读全文
posted @ 2022-09-22 10:19 菜的掉渣 阅读(500) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script src="./lib/jquery.js"></script> <title></title> </head> <body> <input type="file" id="fil 阅读全文
posted @ 2022-09-22 10:10 菜的掉渣 阅读(105) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页