Category
PHP fwrite()、file_put_contents():向文件中写入数据
php

PHP fwrite()、file_put_contents():向文件中写入数据

前面我们介绍了打开和读取文件,本节我们就来介绍一下文件的写入操作。在 PHP 中将程序中的数据保存到文件中相对比较容易,...
avatar
php程序的安全加载,常量没有定义就不加载此文件
php

php程序的安全加载,常量没有定义就不加载此文件

如 config.php 配置文件设置常量定义 前端载入 config.php必须定义 __CONFIG__ 的常量
avatar
/* logo扫光 */ .navbar-brand headerlogo{position:relative;overflow:hidden;margin: 0px 0 0 0px;}.headerlogo navbar-brand:before{content:""; position: absolute; left: -665px; top: -460px; width: 200px; height: 15px; background-color: rgba(255,255,255,.5); -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-animation: searchLights 6s ease-in 0s infinite; -o-animation: searchLights 6s ease-in 0s infinite; animation: searchLights 5s ease-in 0s infinite;}@-moz-keyframes searchLights{50%{left: -100px; top: 0;} 65%{left: 120px; top: 100px;}}@keyframes searchLights{40%{left: -100px; top: 0;} 60%{left: 120px; top: 100px;} 80%{left: -100px; top: 0px;}} //文本复制监听,右上弹窗提示 .toast-top-right { top: 72px; right: 12px; } .toast-success { background-color: #7486E7; }