LisonRead 本次搜索耗时 0.168 秒,为您找到 307 个相关结果.
  • //安全过滤函数 functionsafe_re

    59 2018-09-03 《PHP》
    //安全过滤函数 function safe_replace($string) { $string = str_replace('%20','',$string); $string = str_replace('%27','',$string); $string = str_replace('%2527','',$string); $str...
  • url截取主域名 $url='http:

    59 2019-02-25 《PHP》
    url截取主域名 $url='http://www.abc.com'; $url='http://abc.com'; if(strpos($url,'http://') ===false){ $url='http://'.$url; } if(strstr($url,'https://')){ $url=str_replace('https...
  • URL转数组并提取参数 $url='ht

    58 2018-10-15 《PHP》
    URL转数组并提取参数 $url='http://jp.abc.com/ypty-wap/?/?utm_source=59&utm_brand=28&utm_term=古茗&utm_content=小品牌&utm_campaign=0_T_28_1_集合-wap&semk=88283639227&semc=23785189829&semm=1&semp=m...
  • whereis命令用于查找文件和which使用指令

    58 2022-03-03 《Linux系统》
    whereis命令用于查找文件和which 使用指令"whereis"查看指令"php"的位置,输入如下命令: whereis php which php //用的是环境数据库,只能查找昨天的数据 注意 :以上输出信息从左至右分别为查询的程序名、bash路径、bash的man 手册页路径。 查看php-fpm位置: whereis php-fp...
  • 360meta指定默认模式极速模式内核metana

    58 2019-04-06 《其它前端》
    360meta指定默认模式极速模式内核 <meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
  • shell_exec(&#39;sudo/usr/

    58 2019-04-06 《PHP》
    shell_exec('sudo /usr/local/apache/bin/apachectl graceful');//热重启apache
  • 截取获取主域名 $url=$this-unesc

    58 2019-08-23 《PHP》
    截取获取主域名 $url=$this->unescape($_GET['url']); $url= $_GET['url'];  if(strpos($url,'http://') ===false){ $url='http://'.$url; } if(strstr($url,'https://')){ $url=str_replace(...
  • URL转码,解析escape码 $data[&#

    58 2018-06-01 《PHP》
       URL转码,解析escape码    $data['url'] = $this->unescape($_GET['url']);     function unescape($str){//解析escape码     $ret = '';      $len = strlen($str);      for ($i = 0; $i < ...
  • 修改nginx配置,使其支持php方式一:yum

    58 2022-04-19 《Linux系统》
    修改nginx配置,使其支持php 方式一: yum install nginx #安装nginx vim /etc/nginx/conf.d/test.conf server { listen 80; #listen [::]:80; server_name 39.105.1.170; client_max...
  • PHP 存在不受控制的递归漏洞在 PHP 受影响版

    58 2022-10-11 《PHP》
    PHP 存在不受控制的递归漏洞 在 PHP 受影响版本内,phar 解压缩器代码将递归解压缩 “quines” gzip 文件,从而导致无限循环。攻击者会利用此漏洞导致服务器资源耗尽。影响范围包括:php@[8.0.0, 8.0.24)、php@[8.1.0, 8.1.11)、php@(-∞, 7.4.31)。为 避免该漏洞所带来的影响,建议大家升级 P...