吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 19509|回复: 149
收起左侧

[其他转载] [分享]关于论坛里爱客3.5不显示尝鲜的解决办法(修改代码获取php curl 请求302跳转...

[复制链接]
js01 发表于 2018-4-26 18:42
本帖最后由 js01 于 2018-4-27 08:15 编辑

关于论坛里爱客3.5不显示尝鲜的解决办法(修改代码获取php curl 请求302跳转域名)
编辑cxlist.php

[Asm] 纯文本查看 复制代码
<dl class="b-listfilter-item js-listfilter" style="padding-left: 0px;height:auto;padding-right:0px;">
<dd class="item g-clear js-listfilter-content" style="margin: 0;">

<?php
$url = $aik["zhanwai"];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_NOBODY, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
curl_setopt($ch, CURLOPT_AUTOREFERER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
// 下面两行为不验证证书和 HOST,建议在此前判断 URL 是否是 HTTPS
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
// $ret 返回跳转信息
$ret = curl_exec($ch);
// $info 以 array 形式返回跳转信息
$info = curl_getinfo($ch);
// 跳转后的 URL 信息
$link = $info['url'];
// 记得关闭curl
curl_close($ch);

$a = $link . "/index.php/whole/index/1~~%E5%8A%A8%E4%BD%9C~~~~~0~addtime~~1";
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $a);
curl_setopt($curl, CURLOPT_HEADER, 1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($curl);
curl_close($curl);
$response = strstr($response, "<div class=\"header-tag\">");
$response = strstr($response, "</ul>", true);
$response = str_replace("<li class=\"on\">", "", $response);
$response = str_replace("<div class=\"header-tag\">", "", $response);
$response = str_replace("<ul>", "", $response);
$response = str_replace("<li>", "", $response);
$response = str_replace("</li>", "", $response);
$response = str_replace("/index.php/whole/index/", "?cx=", $response);
$response = str_replace("\">", "\"  target=\"_self\">", $response);
echo $response;
?>     

把这段代码替换原来的就可以了。 或者下载文件 cxlist.php.txt (5.85 KB, 下载次数: 266)   重命名为cxlist.php 就是把文件名后的.txt删除。

免费评分

参与人数 5吾爱币 +6 热心值 +4 收起 理由
指尖的温度 + 1 + 1 大佬,爱你
katrock + 1 + 1 谢谢@Thanks!
一笑懸命桑 + 2 + 1 感谢感谢!
wushaominkk + 1 按标题格式发帖
qbnet1 + 1 + 1 谢谢@Thanks!

查看全部评分

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

 楼主| js01 发表于 2019-4-17 18:23
Kesn 发表于 2019-4-14 16:22
小哥,资源站规则请问如何修改

首发爱客影视3.5尝鲜修复文件。
下载地址:https://www.lanzouj.com/i3sfrpi
密码:cxqx
解压缩密码:qx20719029.
 楼主| js01 发表于 2018-9-16 13:47
katrock 发表于 2018-9-16 09:33
站外1老是挂。有没有稳定点的站外1

这个站外1的地址会一直变来变去,今天可以用的地址:http://1lc.wangzhedb.com/
没有稳定的。晕死。

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
一笑懸命桑 + 1 + 1 谢谢@Thanks!

查看全部评分

 楼主| js01 发表于 2019-4-2 16:00
 楼主| js01 发表于 2018-7-13 20:32
凌乱的思绪 发表于 2018-7-13 20:11
这个真不会了,找了几个试着修改了下还行不行,能不能求您的网页呢?

就做个伸手党?zhibo.php代码如下
[Asm] 纯文本查看 复制代码
<?php
include ('./inc/aik.config.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="cache-control" content="no-siteapp">
<title><?php echo $aik['title'];?>-免VIP抢先观看最新好看的电影和电视剧</title>
<link rel='stylesheet' id='main-css'  href='css/style.css' type='text/css' media='all' />
<link rel='stylesheet' id='main-css'  href='css/index.css' type='text/css' media='all' />
<script type='text/javascript' src='http://apps.bdimg.com/libs/jquery/2.0.0/jquery.min.js?ver=0.5'></script>
<meta name="keywords" content="<?php echo $aik['title'];?>,电视直播网站,零八影院快播,高清云影视,云点播,免费看视频,湖南卫视直播,80电影网,最新电影天堂免费在线观看">
<meta name="description" content="<?php echo $aik['title'];?>,热剧快播,最好看的剧情片尽在<?php echo $aik['title'];?>,高清云影视免费为大家提供最新最全的免费电影,电视剧,综艺,动漫无广告在线云点播,以及电视直播">
<!--[if lt IE 9]><script src="js/html5.js"></script><![endif]-->
</head>
<body>
<body class="page-template page-template-pages page-template-posts-film page-template-pagesposts-film-php page page-id-9">
<?php  include 'header.php';?>
<section class="container">
<iframe width="100%" height="800" src="http://www.yswhw.cn/live.php" frameborder=0 border=0 marginwidth=0 marginheight=0 scrolling='+s+'></iframe>
</section>
<?php  include 'footer.php';?>
</body>
</html>

点评

好心人,谢谢你了。已解决  发表于 2018-7-13 22:20

免费评分

参与人数 1吾爱币 +2 热心值 +1 收起 理由
凌乱的思绪 + 2 + 1 谢谢了,感激不尽

查看全部评分

 楼主| js01 发表于 2018-5-3 20:37
460261925 发表于 2018-5-1 06:07
下载覆盖了文件上传后还是不行呢?

站外1设置正确吗?
http://vcc.nasaosa.com/
http://v11.wangzhedb.com/
http://bli.gogoom.com/
随便选一个。
qbnet1 发表于 2018-4-26 18:46
谢谢楼主分享,楼主辛苦了!
不知道哪里有3.5版本可下载的,我手上只有3.3的,楼主能分享一个吗?谢谢!
ainannan 发表于 2018-4-26 18:50
顶,小白学习了
 楼主| js01 发表于 2018-4-26 18:53
qbnet1 发表于 2018-4-26 18:46
谢谢楼主分享,楼主辛苦了!
不知道哪里有3.5版本可下载的,我手上只有3.3的,楼主能分享一个吗?谢谢!

https://pan.lanzou.com/i0upbab

链接: https://pan.baidu.com/s/1iJiZoJXm7rxQKu8hpHgmEA 密码: e49i
wushaominkk 发表于 2018-4-27 00:02
代码插入编辑下
[公告]发帖代码插入教程
https://www.52pojie.cn/thread-713042-1-1.html

 楼主| js01 发表于 2018-4-27 08:16
wushaominkk 发表于 2018-4-27 00:02
代码插入编辑下
[公告]发帖代码插入教程
https://www.52pojie.cn/thread-713042-1-1.html

非常感谢,小白不懂。
钟意张晓路 发表于 2018-4-28 14:37
谢谢大佬,学习
fengshucao 发表于 2018-4-28 23:29
谢谢楼主分享,楼主辛苦了!按照楼主代码问题得到了解决,但是不知道为什么cxlist.php总是有三个广告,另外楼主放的3.5文件是损坏的哦!
 楼主| js01 发表于 2018-4-29 09:48
fengshucao 发表于 2018-4-28 23:29
谢谢楼主分享,楼主辛苦了!按照楼主代码问题得到了解决,但是不知道为什么cxlist.php总是有三个广告,另外 ...

修改下面代码就不会显示广告,并替换为你自已推荐的。文件没损坏呀,你重新下载。
[Asm] 纯文本查看 复制代码
<?php
$flid1 = $_GET["cx"];
$flid2 = $link . "/index.php/whole/index/" . $flid1;
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $flid2);
curl_setopt($curl, CURLOPT_HEADER, 1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($curl);
curl_close($curl);
$response = strstr($response, "</h3>\r\n<ul>\r\n");
$response = strstr($response, "</ul>", true);
$response = str_replace("<ul>", "", $response);
$response = str_replace("</h3>", "", $response);
$response = str_replace("高清", "", $response);
$response = str_replace("超清", "", $response);
$response = str_replace("<b></b>", "<b></b><div class='cover g-playicon'>", $response);
$response = str_replace("<span>", "</div><div class='detail'><p class='title g-clear'><span class='s1'>", $response);
$response = str_replace("</span></a>", "</span><span class='s2'></span> </p></div></a>", $response);
$response = str_replace("/attachment", $link . "/attachment", $response);
$response = str_replace("<li class=\"on\">", "", $response);
$response = str_replace("<li>", "<li class='item'>", $response);
$response = str_replace("/index.php/show/index/", "mplay.php?mso=", $response);
echo $response;
include "./data/fbcx.php";
?> 

免费评分

参与人数 1吾爱币 +2 热心值 +1 收起 理由
一笑懸命桑 + 2 + 1 谢谢@Thanks!

查看全部评分

maiawpyg 发表于 2018-4-29 14:54
这个要支持下
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-4-20 07:35

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表