LisonRead 本次搜索耗时 0.071 秒,为您找到 298 个相关结果.
  • $content=htmlspecialchars

    46 2019-08-13 《PHP》
    $content=htmlspecialchars(strip_tags(trim($_GET['content'])));
  • php追加写入文件或日志$payLogFile =

    45 2020-07-29 《PHP》
    php追加写入文件或日志 php追加写入文件或日志 $payLogFile = '../xxx/xxx_Logs.txt'; $newLog = 'log_time:'.date('Y-m-d H:i:s'). PHP_EOL; $newLog .= var_export($typeh,true).PHP_EOL; $newLog .= ...
  • 获取主域名和解析地址URL $url=urlde

    45 2018-06-01 《PHP》
    获取主域名和解析地址URL $url = urldecode($url);   $arr = parse_url($url); $arr_query = convertUrlQuery($arr['query']); $host = $arr['host']; $data['product'] =  intval($arr_query['utm_b...
  • // 获取唯一邀请码 public

    45 2021-08-24 《PHP》
    // 获取唯一邀请码 public static function getInviteCode(){ $invite_code = self::nonceStr(6); $res = self::where('invite_code', $invite_code)->value('uid'); ...
  • PHP版本依赖 Swoole-1.x需要PHP-

    45 2019-08-01 《PHP》
    PHP版本依赖 Swoole-1.x需要 PHP-5.3.10 或更高版本 Swoole-2.x需要 PHP-7.0.0 或更高版本 Swoole-4.x需要 PHP-7.1.0 或更高版本 不依赖 PHP 的 stream、sockets、pcntl、posix、sysvmsg 等扩展。PHP 只需安装最基本的扩展即可
  • phpcms系统应用并添加js/css文件,路径:

    44 2018-06-07 《PHP》
     phpcms系统应用并添加js/css文件,路径:/statics/js/ckeditor     搜索“ac+ab” 如图位置添加即可
  • PHP连接到FTP服务器

    44 2024-12-05 《PHP》
    // FTP服务器信息 $ftp_server = "ftp.example.com"; $ftp_username = "your_username"; $ftp_password = "your_password"; $local_file = "path/to/your/local/file.txt"; // 本地文件路径 $re...
  • .htaccess IfModulemod_re

    44 2019-07-10 《PHP》
    .htaccess <IfModule mod_rewrite.c>   Options +FollowSymlinks   RewriteEngine On   RewriteCond %{REQUEST_FILENAME} !-d   RewriteCond %{REQUEST_FILENAME} !-f   RewriteRule ^(...
  • publicfunctiontelselect(

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

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