搜索栏不支持https的解决办法


当前第2页 返回上一页

1

2

3

4

5

6

7

8

9

10

11

<p class="search">

<form action="/do/search.php" method="get" target="_blank" class="bdcs-search-form" id="bdcs-search-form">

        <input name="s" value="10520733385329581432" type="hidden">

        <input name="entry" value="1" type="hidden">

        <input name="ie" value="gbk" type="hidden">

        <input name="nsid" value="3" type="hidden">

        <input name="ie" value="gbk" type="hidden">

<input type="text" placeholder="请输入您感兴趣的关键字" value="" id="search_txt1" maxlength="18" class="search_txt" name="q">

<input class="search_btn" value="搜 索" type="submit">

</form>

</p>

search.php如下


1

2

3

4

5

6

7

8

9

10

<?php

error_reporting(E_ALL & ~E_NOTICE);

$s=is_numeric($_GET['s'])?$_GET['s']:0;

$entry=$_GET['entry']?intval($_GET['entry']):0;

$nsid=$_GET['nsid']?intval($_GET['nsid']):0;

$ie=$_GET['ie']?substr($_GET['ie'],0,3):0;

$q=$_GET['q']?urlencode($_GET['q']):'';

$url_str="http://so.jb51.net/cse/search?s=$s&entry=$entry&ie=$ie&nsid=$nsid&ie=$ie&q=$q";

header("Location: $url_str");

?>

相关推荐:

php-curl不支持https, 已安装ssl扩展

以上就是搜索栏不支持https的解决办法的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

搜索栏不支持Https的解决办法

一次性搞懂 http、Https、spdy、http2

Https页面使用百度分享实例详解

history解决ajax出现的问题

几个解决兼容ie6\7\8不支持html5标签的几个方法

更多相关阅读请进入《Https》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...