LisonRead 本次搜索耗时 0.114 秒,为您找到 296 个相关结果.
  • 浏览器强制优先使用极速模式 !--避免IE使用兼

    31 2019-04-12 《PHP》
    浏览器强制优先使用极速模式 <!--避免IE使用兼容模式--> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!--使用webkit内核--> <meta name="renderer" content="webkit">
  • 正则提取页面标签内容 publicfunctio

    31 2018-08-29 《PHP》
    正则提取页面标签内容 public function tel(){ // header('Content-type:text/html;charset=GBK'); $url='https://shouji.supfree.net/fish.asp?cat='.$_REQUEST['tel']; $str=$this->httpsRequest...
  • //安全过滤函数 functionsafe_re

    31 2018-09-03 《PHP》
    //安全过滤函数 function safe_replace($string) { $string = str_replace('%20','',$string); $string = str_replace('%27','',$string); $string = str_replace('%2527','',$string); $str...
  • php程序执行时间$lison_stime=mic

    31 2019-09-26 《PHP》
    php程序执行时间$lison_stime=microtime(true); $lison_etime=microtime(true);//结束的时间 $lison_total_time=$lison_etime-$lison_stime;  //计算差值 echo '执行时间共计:'.round($lison_total_time,2).'秒';ex...
  • PHP函数 exec 获取更高权限(sudo) $

    31 2020-12-24 《PHP》
    PHP函数 exec 获取更高权限(sudo) $result = exec("whoami", $outcome, $status); var_dump($outcome); //array(1) { [0]=> string(6) "apache" } 以超级用户(如root用户)执行 visudo (实际路径为/etc/sudoers)来编辑配置文件。...
  • nginx.htaccess 伪静态,记得要重启才

    31 2021-09-20 《PHP》
    nginx.htaccess 伪静态,记得要重启才生效 location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; break; } }
  • js追加标签 functionAddEle(){

    31 2019-04-26 《element-ui》
    js追加标签     function AddEle() {         // 创建一个标签,将标签添加到指定标签里面         var tag=document.createElement('span');         tag.setAttribute('id','checktype');         tag.style.fon...
  • PHP的opcache是用来干嘛的前言opcach

    31 2022-04-22 《PHP》
    PHP的opcache是用来干嘛的 前言 opcache从字面意思,肯定是缓存这一块的。但是你是否知道它的工作原理是怎样的呢? 这里一点一点让你了解!PHP项目中,尤其是在高并发大流量的场景中,如何提升PHP的响应时间,是一项十分重要的工作。而Opcache又是优化PHP性能不可缺失的组件,尤其是应用了PHP框架的项目中,作用更是明显。 一、...
  • php-fpm重启或开启命令开启:/usr/loc

    31 2022-03-03 《PHP》
    php-fpm重启或开启命令 开启: /usr/local/bin/php/php-fpm 重启: service php-fpm restart 另一的重启: service php-fpm reload
  • AMH/nginx/.htaccess/伪静态配置

    31 2020-11-09 《PHP》
    AMH/nginx/.htaccess/伪静态配置 try_files $uri $uri/ /index.php?$query_string; rewrite ^/(.*)$ /public/$1 last; 或者 rewrite ^/(.*)$ /public/$1 last; rewrite ^(.*)$ /public/index.php?s=/...