<p><img src="http://img.baidu.com/hi/jx2/j_0005.gif"/></p><p>来耍呀</p>
Where possible begins
希望你喜欢这里。有问题,请提问,或搜索现有帖子。
真诚、友善、团结、专业,共建你我引以为荣之社区。《常见问题解答》
哈喽呀
讨论专区
<p>大家晚上好</p><p><img src="http://img.baidu.com/hi/jx2/j_0003.gif"/></p>
359

php字符串是佛包含
开发调优
<pre class="brush:php;toolbar:false">if(strpos('www.jb51.net','jb51') !== false){ echo '包含jb51'; }else{ echo '不包含jb51'; }</pre><p><br/></p>
454

al链接去掉默认链接颜色
开发调优
<pre style="box-sizing: border-box; overflow: auto; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; word-break: break-all; overflow-wrap: break-word; color: rgb(51, 51, 51); background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 4px;">a { color: inherit; }</pre><p><br/></p>
401

通过google接口获取经纬度和地址
开发调优
<pre class="brush:php;toolbar:false"> $('.get_location').on('click',function(){ findLatLonFromIP().then( function(value) { var lat = value.lat var lng = value.lng
416

tp51打印sql
开发调优
<p><span style="color: rgb(197, 200, 198); font-family: "Source Code Pro", "DejaVu Sans Mono", "Ubuntu Mono", "Anonymous Pro", "Droid Sans Mono", Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; white-space: pre; background-color: rgb(29, 31, 33);">->fetchSql(</span><span class="hljs-literal" style="box-sizing: border-box; outline: 0px; margin: 0px; pad
369

分享几个可免费使用的网站CDN加速服务
开发调优
<p style="margin-top: 0px; margin-bottom: 18px; padding: 0px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; line-height: 26px; color: rgb(96, 98, 102); font-family: "Joe Font"; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);"><span class="joe_message info" style="margin: 0px; padding: 8px 15px; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; display: block; position: relative; border-left: 4
543

layui table 的宽度超出自动隐藏
开发调优
<pre class="brush:php;toolbar:false">td{ min-width: 150px; max-width: 200px; /* 超出长度隐藏 */ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }</pre><p><br/></p>
739

TP5.1下实现手动断开mysql数据库链接操作
开发调优
<p>参考文章 :<a href="https://blog.csdn.net/qq_40364437/article/details/107388997" _src="https://blog.csdn.net/qq_40364437/article/details/107388997">https://blog.csdn.net/qq_40364437/article/details/107388997</a> </p><p><br/></p>
457

定时任务出现 -Query类的close方法不存在
子枫cmsX2
<p><img src="/public/upload/image/20220707/1657161085261712.png" title="1657161085261712.png" alt="image.png"/></p><p>出啊先这个问题是因为 thinkphp官方的query类没有close方法</p><p><br/></p><p><br/></p><p>我们只需要修改query类即可</p><p>找到文件<br/></p><p><img src="/public/upload/image/20220707/1657161171753638.png" title="1657161171753638.png" alt="image.png"/></p><p>打开query.php</p><p>添加close方法</p><p><img src="/public/upload/image/20220707/1657161209924101.png" title="1657161209924101.png" alt="image.png"/></p><pre class="bru
355

tp51验证码的使用
开发调优
<p>生成</p><pre class="brush:php;toolbar:false"> use think\captcha\Captcha; public function verify(){ $config = [ // 验证码字体大小 'fontSize' => 30, &n
402

调用省市区联动
开发调优
<pre class="brush:php;toolbar:false"> public function change_select_json(){ $type = input('type',''); $id = input('id',''); if($type==1){ $where[] = ['province_num','=',$id]; &nb
339

centos镜像下载
开发调优
<p>下载地址: <a href="http://archive.kernel.org/centos-vault/altarch/7.6.1810/isos/aarch64/" _src="http://archive.kernel.org/centos-vault/altarch/7.6.1810/isos/aarch64/">http://archive.kernel.org/centos-vault/altarch/7.6.1810/isos/aarch64/</a> </p><p><br/></p>
417

给出一个日期,判断是否是某个节气,或某节气的后
开发调优
<pre class="brush:php;toolbar:false"> function getJieQi($_year,$month,$day) { $year = substr($_year,-2)+0; $coefficient = array( array(5.4055,2019,-1),//小寒 &
367

哔哩哔哩视频av和bv互转 PHP源码
开发调优
<pre class="brush:php;toolbar:false"> class Bilibili{ protected $table = "fZodR9XQDSUm21yCkr6zBqiveYah8bt4xsWpHnJE7jL5VG3guMTKNPAwcF"; protected $tr = []; protected $s = [11, 10, 3, 8, 4, 6]; protected $xor = 177451812; protected $add = 8728348608; &nb
467