<?php
header("Location:http://www.baidu.com/".$_GET['baidu']);
exit;
?>我想这段跳转代码支持utf8 应该怎么写。
不要告诉我加入这段代码
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
已经测试不行。
header("Location:http://www.baidu.com/".$_GET['baidu']);
exit;
?>我想这段跳转代码支持utf8 应该怎么写。
不要告诉我加入这段代码
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
已经测试不行。
你需要跳转的url又是用什么编码encode的
我想用的是utf8编码。应该怎么弄
<?php
header("Location:http://s8.taobao.com/search?cat=0&commend=all&s=0&sort=coefp&n=40&ratesum=1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19%2C20&q=".$_GET["qq"]."&tab=coefp&tk_rate=%5B150%2C5000%5D&pid=mm_15881888_0_0&mode=23");
exit;?>
这样的跳转在页面到结果页就会出现乱码
那你知道该跳到那个url吗?