PHP写入日志文件
/写入文件$paytype文件名$content内容(string类型)/publicstaticfunctiondingdinglog($paytype,$content)$filename$SERVER'DOCUMENTROOT'.'/log/';$filename$filename.$paytype.
Wesley13 Wesley13
2年前
JS强制刷新页面、清除缓存刷新
清理网站缓存的几种方法meta方法<metahttpequiv"pragma"content"nocache"<metahttpequiv"CacheControl"content"nocache,mustrevalidate"<metahttpequi
Wesley13 Wesley13
2年前
MySQL 8.0.23新特性
作者:lefred译者:孟维克原文链接:https://lefred.be/content/mysqlinvisiblecolumnparti/https://lefred.be/content/mysqlinvisiblecolumnpartii/
Stella981 Stella981
2年前
Spinner使用
1.在xml文件设立布局文件<Spinner    android:layout\_width"wrap\_content"    android:layout\_height"wrap\_content"    android:layout\_below"@id/b1"    andro
Wesley13 Wesley13
2年前
mysql中字符查询与替换
select\fromtablenamewherecolumnlike"%str%"查询表中的某列里包含某str的行updateear\_bbs\_threads\_contentsetcontentreplace(content,substring(content,locate
Stella981 Stella981
2年前
Http请求中Content
引言:在Http请求中,我们每天都在使用Contenttype来指定不同格式的请求信息,但是却很少有人去全面了解contenttype中允许的值有多少,这里将讲解ContentType的可用值,以及在SpringMVC中如何使用它们来映射请求信息。1.  ContentType  MediaType,即是InternetMediaTy
Stella981 Stella981
2年前
Android 监听wifi广播的两种方式
packagecom.comit.broadcast;importcom.comit.util.AppHpler;importandroid.content.BroadcastReceiver;importandroid.content.Context;importandroid.
Wesley13 Wesley13
2年前
PHP中去除换行解决办法小结
第一种写法:$contentstr\_replace("\\n","",$content);echo$content;第二种写法:str\_replace("\\r\\n","",$str);第三种写法:$contentpreg\_replace("/\\s/","",$content);echo$content;附:首先说
Wesley13 Wesley13
2年前
CSS 背景图片 添加 重复和定位。
<!doctypehtml<htmllang"en"<head<metacharset"UTF8"<metaname"Generator"content"EditPlus®"<metaname"Author"content""<metaname"Keywords"content
Stella981 Stella981
2年前
HTTP协议:不可小觑的Content
接上一篇《用Netty实现的简单HTTP服务器(http://my.oschina.net/u/203921/blog/93076)》,本篇文章摘自《HTTP权威指南》。ContentLength首部告诉浏览器报文中实体主体的大小。这个大小是包含了内容编码的,比如对文件进行了gzip压缩,ContentLength就是压缩后的大小(这点对我们编写