类似于这样http://whois.domaintools.com/csdn.net 不带?的查询地址是怎么做的? 类似于这样http://whois.domaintools.com/csdn.net 不带?的查询地址是怎么做的?一般参数都是通过?传递的,但是上面这样,不带?的查询地址是怎么做的啊?谢谢~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 伪静态技术,自动将/csdn.net转换为/index.php?domain=csdn.net。具体参看apache的rewrite模块。 URL 重写的。ecshop 里面的那htaccess.txt 这个文件里面有很多通用的重写,可以对照一下。 function Learn_URL_rewrite(){ if($this->user->google('rewrite')=='True') { $this->user->config('apache'); $knowledge=$this->user->write('.httacess'); $this->user->associate('SEO',& $knowledge); return $this->user->write_php_to($knowledge); } return "Fool or Nerd";} 伪静态技术,如上所说,rewriter技术去我的网站看看,例如下面的,是用户livehope注同资料http://www.skyhope.cn/user/livehope.html一般要编辑httpd.ini文件,后缀可能不是ini例:RewriteRule /user/([0-9]+)\.html /technic\.html\?action=listplay&id=$1 [N,I] $failed |= is_numeric( $key );中的|=什么意思? 导出csv中文乱码 PHP,ajax字符编码问题 过滤掉javascript代码的正则怎么写? PHP 实现 数据库备份(高分送牛人) 请问生成静态页面的问题? 菜鸟问题,怎样拦截php的错误? php是否支持access,paradox数据库 为什么调试不了php? PHP curl响应参数与响应header 中的参数值获取 关于抓取新浪验证码的问题 在php中导入dll文件
具体参看apache的rewrite模块。
ecshop 里面的那htaccess.txt 这个文件里面有很多通用的重写,可以对照一下。
{
if($this->user->google('rewrite')=='True')
{
$this->user->config('apache');
$knowledge=$this->user->write('.httacess');
$this->user->associate('SEO',& $knowledge);
return $this->user->write_php_to($knowledge);
}
return "Fool or Nerd";
}
去我的网站看看,例如下面的,是用户livehope注同资料
http://www.skyhope.cn/user/livehope.html一般要编辑httpd.ini文件,后缀可能不是ini
例:
RewriteRule /user/([0-9]+)\.html /technic\.html\?action=listplay&id=$1 [N,I]