From 49810b3b45585a8d58233306589eabdebd0d3602 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Thu, 2 Aug 2018 10:31:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BB=9F=E8=AE=A1=E8=B7=9F?= =?UTF-8?q?=E8=B8=AA=E9=93=BE=E6=8E=A5=E7=9A=84=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/welcome.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index 72d5a942..22c8ef69 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -195,10 +195,18 @@ class Welcome extends CI_Controller { // )); } + public function count_redirect_nofllow() { + $data['all_information'] = + $this->Information_model->search_all_text('.htm&t=78002', 2000); + echo 'count: '.count($data['all_information']).'
'; + var_dump($data['all_information']); + } + public function count_http_of_href() { $data['all_information'] = $this->Information_model->search_all_text('http://www.chinahighlights.com/', 2000); echo 'count: '.count($data['all_information']).'
'; + var_dump($data['all_information']); } public function transform_href_to_https() {