| 域名空间 下载中心 社区论坛 信息公告 my小屋 |
![]() |
联系我们 设为首页 加入收藏 |
|
首页 | 新闻资讯 | 编程开发 | 网页设计 | 图形图象 | 网络媒体 | 网站模板 | 数 据 库 | 投稿 论坛 | 操作系统 | 系统优化 | 网络安全 | 黑客技术 | 硬件学堂 | 硬件报价 | 服 务 器 | 地图 专题 | 应用软件 | 聊天通讯 | q q 专栏 | 建站经验 | 在线工具 | 站长club | 注 册 表 | 旧版 社会 | 游戏娱乐 | 设计欣赏 | 疑难解答 | 社区论坛 | 韩国素材 | 素材图库 | 广告服务 | 服务 |
| 新版上线![旧版] | |||||
注:打开慢时请稍等
高分求助分页问题http://www.iyit.net 日期:2006-10-6 15:30:59 来源:iyit.net收集 点击: |
如何实现象sohu的搜索引擎的分页方式。 http://site.search.sohu.com/website.jsp?key_word=1&begin=270&numpage1=30 越详细越好! --------------------------------------------------------------- 去看 phpbb 的搜索代码 search.php --------------------------------------------------------------- 注意参数的传递 <td height=35 colspan=2 nowrap class=cont> 您输入的关键词:<font color=red>php </font> 搜索结果:<a href=http://general.search.sohu.com/sortsearch.jsp?key_word=php>类目</a> --------------------------------------------------------------- <?php /*************************************************************************** * search.php * ------------------- * begin : saturday, feb 13, 2001 * copyright : (c) 2001 the phpbb group * email : support@phpbb.com * * $id: search.php,v 1.72.2.4 2002/05/13 01:30:59 psotfx exp $ * * ***************************************************************************/ /*************************************************************************** * * this program is free software; you can redistribute it and/or modify * it under the terms of the gnu general public license as published by * the free software foundation; either version 2 of the license, or * (at your option) any later version. * ***************************************************************************/ define('in_phpbb', true); $phpbb_root_path = './'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpex); include($phpbb_root_path . 'includes/bbcode.'.$phpex); include($phpbb_root_path . 'includes/functions_search.'.$phpex); // // start session management // $userdata = session_pagestart($user_ip, page_search); init_userprefs($userdata); // // end session management // // // define initial vars // if ( isset($http_post_vars['mode']) ¦ ¦ isset($http_get_vars['mode']) ) { $mode = ( isset($http_post_vars['mode']) ) ? $http_post_vars['mode'] : $http_get_vars['mode']; } else { $mode = ''; } if ( isset($http_post_vars['search_keywords']) ¦ ¦ isset($http_get_vars['search_keywords']) ) { $search_keywords = ( isset($http_post_vars['search_keywords']) ) ? $http_post_vars['search_keywords'] : $http_get_vars['search_keywords']; } else { $search_keywords = ''; } if ( isset($http_post_vars['search_author']) ¦ ¦ isset($http_get_vars['search_author'])) { $search_author = ( isset($http_post_vars['search_author']) ) ? $http_post_vars['search_author'] : $http_get_vars['search_author']; } else { $search_author = ''; } 编辑:黑鹰 [发送给好友] [打印本页] [关闭窗口] [返回顶部] 上一篇:模式匹配替换字符的问题 下一篇:将图片存储进入数据库 转载请注明来源:www.iyit.net 特别声明: 本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。 |
| 相关文章 | ||||
| 友情链接 | ||||||
| 设置首 页 - 版权声明 - 广告服务 - 关于我们 - 联系我们 - 友情连接 |
| |||||||