public function add() { $data = input('post.'); $img = request()->file('img_banner'); $info = $img->move("./static/uploads/lunbo"); if ($info) { // 输出 ...
分类:
Web程序 时间:
2021-01-12 10:30:06
阅读次数:
0
Linux source命令: 通常用法:source filepath 或 . filepath 功能:使当前shell读入路径为filepath的shell文件并依次执行文件中的所有语句,通常用于重新执行刚修改的初始化文件,使之立即生效,而不必注销并重新登录。例如,当我们修改了/etc/prof ...
分类:
系统相关 时间:
2021-01-11 10:58:08
阅读次数:
0
explode() 使用一个字符串分割另一个字符串。 array explode( string $delimiter , string $string [, int $limit ]) 参数描述delimiter 边界上的分隔字符。 string 输入的字符串。 limit 如果设置了 limit ...
分类:
Web程序 时间:
2021-01-11 10:54:17
阅读次数:
0
ngModel ngModel不能用来把表单控件注册到父formGroup指令中。不然会报错 如果你想避免注册这个表单控件,请在ngModelOptions中指出它是独立的: <input [(ngModel)]="person.firstName" [ngModelOptions]="{stand ...
分类:
其他好文 时间:
2021-01-11 10:51:05
阅读次数:
0
Problem LeetCode Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Example 1: Input: root = [3,1,4,null ...
分类:
编程语言 时间:
2021-01-11 10:45:32
阅读次数:
0
下面的链接下载对应版本的xdebug. https://xdebug.org/download/historical 源码安装:https://xdebug.org/docs/install#linux Installation From Source Obtain You can download ...
分类:
其他好文 时间:
2021-01-11 10:33:04
阅读次数:
0
练习:判断是否为闰年 year=eval(input("请输入年份:"))pd=Trueif year%400==0: pd=Trueelif year%4==0 and year%100!=0: pd = Trueelse: pd=Falseif pd==True: print(str(year) ...
分类:
其他好文 时间:
2021-01-11 10:32:50
阅读次数:
0
在windows下,新建一个 config_rabbitmq.conf 配置文件 开始logstash的时候,新建一个 run_rabbitMQ.bat 批处理,内容是 logstash -f config_rabbitMQ.conf 运行 run_rabbitMQ.bat 批处理文件就行了 先在r ...
分类:
其他好文 时间:
2021-01-11 10:32:31
阅读次数:
0
A. Cards for Friends time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output For the New Year, Po ...
分类:
其他好文 时间:
2021-01-08 11:28:07
阅读次数:
0
问题: 给定一串由数字构成的字符串。 给任意两个数字间添加'.',一共加3次,求能得到的所有有效的IP格式。 Example 1: Input: s = "25525511135" Output: ["255.255.11.135","255.255.111.35"] Example 2: Inpu ...
分类:
其他好文 时间:
2021-01-08 11:18:15
阅读次数:
0