TP5
徐天命
这个作者很懒,什么都没留下…
展开
-
tp5做定时任务
因为工作需要,定时获取接口数据。需要用php做定时任务。对于用php做定时任务,以前没有接触过。在网上搜索了很多,最后得出结果就是网上大都应用服务器系统的定时任务。 服务器windows系统就写".bat"文件放在根目录,然后走系统定时任务。 服务器linux系统就用crontab来做。因为我用的是linux系统,下面就来说说我的做法,我是现在控制器中编写了,自己定时任务中所要做的东西,将其编...原创 2019-12-27 11:58:39 · 1009 阅读 · 0 评论 -
TP5多图片上传,可用于类似调查报告
前台 <style> .file { position: relative; display: inline-block; border: 1px solid #333; padding: 4px 10px; overflow: hidden; text-decoration: none; t...原创 2019-08-20 09:36:34 · 245 阅读 · 0 评论