php
文章平均质量分 52
沙砾集
这个作者很懒,什么都没留下…
展开
-
php集成富文本-thinkphp+百度富文本
效果展示:原创 2021-06-17 17:37:35 · 498 阅读 · 1 评论 -
php整合富文本-layui富文本
目录效果展示图片上传:内置多种操作函数提供调用数据提交代码部分后端图片上传:前端代码js核心包效果展示图片上传: 返回格式 :{"code":0,"data":"\/uploads\/layui_editormd\/20210616\/2c403a1002622e391fb087bbf95a22ed.png","msg":"\u4e0a\u4f20\u6210\u529f"}内置多种操作函数提供调用数据提交...原创 2021-06-16 11:37:25 · 265 阅读 · 0 评论 -
thinkphp+H5文件分片(切块)上传
应用截图:前端部分<!DOCTYPE html><html><head><title>PHP大文件分片上传</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><style type="text/css">#percent-bg{position:relative;width:.原创 2021-06-15 17:26:12 · 544 阅读 · 4 评论 -
thinkphp+cropper 图片截取(剪裁)上传
实际截图:代码块:html部分: <!DO...原创 2021-06-15 16:56:39 · 456 阅读 · 0 评论 -
安装PHP+mysql+Apache+phpmyadmin
1. 准备 sudo apt-get update2. 安装Apachesudo apt-get install apache23. 安装MySQLsudo apt-get install mysql-server mysql-client libmysqlclient-dev mysqlupdate mysql.user set authentication_string=...原创 2020-06-04 13:41:33 · 169 阅读 · 0 评论 -
php调用python程序的五种方法及详解
方法一exec ( string $command [, array &$output [, int &$return_var ]] ) : string备注:exec有3个参数,第一个是要执行的命令,第二个是参数是一个数组,数组的值是由第一个命令执行后生成的,第三个参数执行的状态,0表示成功,其他都表示失败。查看具体信息需要使用 2>&1, 命令就会输出...原创 2019-10-23 10:27:34 · 4129 阅读 · 0 评论 -
php调用python程序的三种方法及详解
<?php header("Content-Type: text/html; charset=gbk");//方法一 保存在$output //(1) /* $output=exec('C:/Users/Administrator/AppData/Local/Programs/Python/Python37/python.exe index....原创 2019-10-21 17:24:45 · 1813 阅读 · 2 评论