上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 1 <?php 2 $array_values['host'] = "host"; 3 $array_values['port'] = 110; 4 $array_values['user'] = '用户名'; 5 $array_values['password'] = '密码'; 6 $array 阅读全文
posted @ 2020-05-07 18:44 crxis 阅读(1278) 评论(0) 推荐(0) 编辑
摘要: 1 //以腾讯企业邮箱做了测试 2 $mailServer="imap.exmail.qq.com"; //IMAP主机 3 4 $mailLink="{{$mailServer}:143}INBOX" ; //imagp连接地址:不同主机地址不同 5 6 $mailUser = '***'; // 阅读全文
posted @ 2020-05-07 18:42 crxis 阅读(2324) 评论(0) 推荐(0) 编辑
摘要: 平时比较常用的时间、字符串、时间戳之间的互相转换,虽然常用但是几乎每次使用时候都喜欢去搜索一下用法;本文将作为一个笔记,整理一下三者之间的 转换(即:date转字符串、date转时间戳、字符串转date、字符串转时间戳、时间戳转date,时间戳转字符串)用法,方便日后查看; 涉及的函数 date_f 阅读全文
posted @ 2020-05-05 19:40 crxis 阅读(665) 评论(0) 推荐(0) 编辑
摘要: php为了安全性考虑,有一项 open_basedir 的设置。根据你web服务器环境,open_basedir可以在几个地方设置。 首先 在php.ini中配置。 ;open_basedir = 如果发现配置项前是有分号,表明php.ini中没有该设置。那就很可能是在 php-fpm 中的 fas 阅读全文
posted @ 2020-04-17 15:22 crxis 阅读(2089) 评论(0) 推荐(1) 编辑
摘要: 教你怎么申请免费的在线Jupyter服务器,这样就不需要在自己电脑上搭建环境,影响速度,不需要自己配置环境就可以使用Jupyter学习python了! 阅读全文
posted @ 2020-04-16 12:40 crxis 阅读(1488) 评论(0) 推荐(0) 编辑
摘要: wget是在linux下最常用的下载的工具,支持多种条件的下载。 普通下载 wget http://example.com/file.iso 指定保存文件名 wget ‐‐output-document=myname.iso http://example.com/file.iso 保存到指定目录 w 阅读全文
posted @ 2020-03-27 22:19 crxis 阅读(698) 评论(0) 推荐(0) 编辑
摘要: 首先先来看下几种标识的含义: /dev/null 表示空设备文件 0 表示stdin标准输入 1 表示stdout标准输出 2 表示stderr标准错误 先看/dev/null command > /dev/null相当于执行了command 1 > /dev/null。执行command产生了标准 阅读全文
posted @ 2020-03-26 23:33 crxis 阅读(3855) 评论(0) 推荐(0) 编辑
摘要: MySQL 字符串截取函数:left(), right(), substring(), substring_index()。还有 mid(), substr()。 其中,mid(), substr() 等价于 substring() 函数,substring() 的功能非常强大和灵活。 1. 字符串 阅读全文
posted @ 2020-03-25 12:09 crxis 阅读(755) 评论(0) 推荐(0) 编辑
摘要: 测试网址: http://localhost/blog/testurl.php?id=5 //获取域名或主机地址 echo $_SERVER['HTTP_HOST']."<br>"; #localhost //获取网页地址 echo $_SERVER['PHP_SELF']."<br>"; #/bl 阅读全文
posted @ 2020-03-18 18:46 crxis 阅读(14011) 评论(0) 推荐(0) 编辑
摘要: 从linux系统中获取的时间戳信息通常为s,将其转换的公式为: =TEXT((C4/1000+8*3600)/86400+70*365+19,"yyyy-mm-dd hh:mm:ss") 其中C4单元格所存的数据为ms因此需要除以1000 转换后的结果如下: 阅读全文
posted @ 2020-03-18 11:10 crxis 阅读(3238) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页
友情链接:OIER博客 800兆技术 每日基金 AtCoder题解 tinywebdb Jupyter BZOJ