LisonRead 本次搜索耗时 0.126 秒,为您找到 298 个相关结果.
  • 解析url提取/截取参数 $urlarr=par

    43 2019-07-19 《PHP》
    解析url提取/截取参数 $urlarr = parse_url($url);//获取的是host $urlverify=substr($url,strpos($url,"?")+1);//把问号前的排除掉 parse_str($urlverify, $res_param);
  • .htaccess IfModulemod_re

    43 2019-07-10 《PHP》
    .htaccess <IfModule mod_rewrite.c>   Options +FollowSymlinks   RewriteEngine On   RewriteCond %{REQUEST_FILENAME} !-d   RewriteCond %{REQUEST_FILENAME} !-f   RewriteRule ^(...
  • ajax跨域请求scriptvarapi="htt

    43 2018-06-12 《其它前端》
    ajax跨域请求 <script>     var api = "http://abc.cn/index.php/Admin/Sboot/portshu?lisonpush=1&callback=?";      $.ajax({         dataType:"jsonp",         url:api,         success...
  • publicfunctiontelselect(

    43 2019-06-14 《PHP》
    public function telselect(){//手机号归属地查询接口,公共接口 //验证来源域名 // $urlcomplete=$this->geturlcomplete(); // echo 22;exit; $url='http://www.baidu.com/s?wd='.$_REQUEST['tel']; ...
  • functionsen_txt_html($str

    43 2018-08-31 《PHP》
    function sen_txt_html($string) {//内容过滤 $string = str_replace('&nbsp;', ' ', $string); $string = str_replace('&amp;', '&', $string); $string = str_replace('&mdash;', '—', $...
  • PHP保留关键词 __halt_compiler(

    43 2021-05-14 《PHP》
    PHP保留关键词 __halt_compiler() abstract and array() as break callable case catch class clone const continue declare default die() do echo else elseif empty() enddeclare en...
  • 禁止IP访问 $ip_prefix=&#39;1

    43 2018-09-29 《PHP》
    禁止IP访问 $ip_prefix = '192.168.0.1'; if (substr($_SERVER['REMOTE_ADDR'], 0, strlen($ip_prefix)) != $ip_prefix ) die('Access denied');
  • 查看差异:git diff abc/x.php撤回

    43 2020-09-23 《Git相关》
    查看差异: git diff abc/x.php 撤回 git checkout abc/x.php 查看状态: git status git checkout -b和git switch -c的区别 1. 命令语法:`git switch -c` 用于创建和切换到新分支,命令语法为:git switch -c <new_branch>`git c...
  • functionsend_post2($url,$

    43 2018-05-16 《PHP》
    function send_post2($url, $post_data,$i=1) {     $postdata = http_build_query($post_data);     $options = array(     'http' => array(       'method' => 'POST',       'heade...
  • 正则提取页面标签内容 publicfunctio

    43 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...