CKFinder是什么
CKFinder是一个易于使用的Ajax文件管理器。提供文件夹树形结构(Folderstree)导航菜单,多语言支持(自动探测用),支持创建/重命名/删除文件和文件夹,集成FCKeditor在线编辑器。...
Python通过一个网页地址获得网页标题Title
importrequestsfrombs4importBeautifulSoupres=requests.get("https://www.51dev.com")res.encoding='utf-8'#soup=BeautifulSoup(res.text,'lxml')print(soup.title.text)&...
php抓取https的内容
<?phpfunctionfile_get_contents_by_curl($url){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_HEADER,0);curl_setopt($ch,CURLOPT_RETU...
配置php支持fileinfo模块
打开php-ini配置文件查找到fileinfo;extension=php_fileinfo.dll去掉前面分号,保存后重启服务器。...
php发送post请求的方法
<?php/***发送post请求*@paramstring$url请求地址*@paramarray$post_datapost键值对数据*@returnstring*/functionsend_post($url,$post_data){$postdata=http_build_query($post_data...
PHP强制输出错误信息
1.修改php.ini ;显示错误信息display_errors=On;显示php开始错误信息display_startup_errors=On;日志记录错误信息log_errors=On 2.PHP文件输出ini_set('display_erro...
用C语言建立线性表
#include<stdio.h>#include<stdlib.h>#defineMaxSize60#defineElemTypeinttypedefstruct{ElemTypedata[MaxSize];intlength;}SqList;voidCreateList_Sq(SqList*...
用C语言实现线性表
#include<stdio.h>#include<malloc.h>#defineboolint#defineTrue1#defineFalse0#defineERROR-1#defineSIZE100/*1、初始化线性表2、删除线性表3、判定是否为空表4、线性表长度5、输出线性表全部元素6、...
swoole文件上传代码
<?php$http=newswoole_http_Server("0.0.0.0",9501);$http->on('request',function($request,$response)use($http){if($request->server['request_method']!='GET...
php输出utf-8格式
header("Content-type:text/html;charset=utf-8"); ...
PHP实现m3u8并发下载
直接上代码<?php//php下载m3u8文件$url=$argv['1'];if(!file_exists('./tmp/')){if(!mkdir('./tmp/')){die('请手动在当前目录创建tmp目录');}}$indexPage=file_get_contents($url);preg_match...
微信小程序的swiper 轮播图组件中图片高度显示不全
按照小程序官方的文档,swiper轮播图中的图片高度大时,会显示不全。image添加即可解决<swiperindicator-dots="true"autoplay="true"interval="3000"duration="1000"><blockwx:for="{{banners}}"wx:fo...
Linux常用命令与中文解释
man:Manual意思是手册,可以用这个命令查询其他命令的用法。pwd:Printworkingdirectory意思是密码。su:Swithuser切换用户,切换到root用户cd:Changedirectory切换目录ls:Listfiles列出目录下的文件ps:ProcessStatus进程状态mkdir:Ma...