![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
zhenzhuo16
这个作者很懒,什么都没留下…
展开
-
服务器之间传输文件
<? if ( isset($_FILES['uploadedfile']) ) { $filename = $_FILES['uploadedfile']['tmp_name']; $handle = fopen($filename, "r"); $data = fread($handle, filesize($...转载 2020-03-12 14:26:50 · 189 阅读 · 0 评论 -
PHP 获取某星期的时间戳
//某一天的周日//第一种$time=‘2019-3-22’;lastday=date("Y−m−d",strtotime("lastday=date("Y-m-d",strtotime("lastday=date("Y−m−d",strtotime("time Sunday"));...原创 2019-03-22 17:53:38 · 419 阅读 · 0 评论 -
PHP根据日期判断星座
switch ($month) { case 1: if ($day<=31&&$day>=20) { $name='水瓶'; }else{ $name='摩羯'; } break; ...原创 2019-04-03 14:30:56 · 1792 阅读 · 0 评论 -
数据库随机抽取数据
order('rand() asc')原创 2019-04-13 08:57:20 · 1092 阅读 · 0 评论 -
sublime3 安装sftp
preferences->browse安装packages具体参考百度,打开文件夹C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Packages把文件放进去原创 2019-05-27 15:19:23 · 227 阅读 · 0 评论 -
安装composer和laravel
1.下载composercurl -sS https://getcomposer.org/installer | php2.将composer.phar文件移动到bin目录以便全局使用composer命令mv composer.phar /usr/local/bin/composer3.切换国内源composer config -g repo.packagist composer htt...原创 2019-08-01 10:39:07 · 95 阅读 · 0 评论 -
微信公众号授权code:40136
code been used网上一堆说什么调用两次接口的都是胡扯抛代码:回调地址长这样:https://open.weixin.qq.com/connect/oauth2/authorize?appid='.config('wxpublic.appid').'&redirect_uri='.$redirect_uri.'&response_type=code&sco...原创 2019-08-08 16:02:49 · 673 阅读 · 0 评论