묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
페이지 연동이 되지 않습니다..ㅜ.ㅜ 도와주세요
2010.02.06 12:14
도메인/go.html?id=5-4
페이지가 아무런 에러 메세지도 없이 뜨지 않습니다.
*서버이전하였습니다.
######################go.html##########3
<?
$id = $_GET[id];
switch($id){
case "1":
case "1-1": header("Location: page/page.php?p=a1"); break;
case "1-2": header("Location: page/page.php?p=a2"); break;
case "1-3": header("Location: page/page.php?p=a3"); break;
case "1-4": header("Location: page/page.php?p=a4"); break;
case "2":
case "2-1": header("Location: page/page.php?p=b1"); break;
case "2-2": header("Location: page/page.php?p=b2"); break;
case "2-3": header("Location: page/page.php?p=b3"); break;
case "2-4": header("Location: page/page.php?p=b4"); break;
case "2-5": header("Location: page/page.php?p=b5"); break;
case "2-6": header("Location: page/page.php?p=b6"); break;
case "2-7": header("Location: page/page.php?p=b7"); break;
case "2-8": header("Location: page/page.php?p=b8"); break;
case "2-9": header("Location: page/page.php?p=b9"); break;
case "3":
case "3-1": header("Location: page/page.php?p=c1"); break;
case "3-2": header("Location: page/page.php?p=c2"); break;
case "4":
case "4-1": header("Location: board/list.php?forum=notice"); break;
case "4-2": header("Location: page/page.php?p=d2"); break;
case "4-3": header("Location: board/list.php?forum=sangdam"); break;
case "4-4": header("Location: board/list.php?forum=event"); break;
case "4-5": header("Location: board/list.php?forum=broad"); break;
case "5":
case "5-1": header("Location: page/page.php?p=e1"); break;
case "5-2": header("Location: page/page.php?p=e2"); break;
case "5-3": header("Location: page/page.php?p=e3"); break;
case "5-4": header("Location: page/page.php?p=e4"); break;
case "5-5": header("Location: page/page.php?p=e5"); break;
case "5-6": header("Location: page/page.php?p=e6"); break;
case "5-7": header("Location: page/page.php?p=e7"); break;
case "6":
case "6-1": header("Location: board/list.php?forum=story"); break;
}
?>
페이지가 아무런 에러 메세지도 없이 뜨지 않습니다.
*서버이전하였습니다.
######################go.html##########3
<?
$id = $_GET[id];
switch($id){
case "1":
case "1-1": header("Location: page/page.php?p=a1"); break;
case "1-2": header("Location: page/page.php?p=a2"); break;
case "1-3": header("Location: page/page.php?p=a3"); break;
case "1-4": header("Location: page/page.php?p=a4"); break;
case "2":
case "2-1": header("Location: page/page.php?p=b1"); break;
case "2-2": header("Location: page/page.php?p=b2"); break;
case "2-3": header("Location: page/page.php?p=b3"); break;
case "2-4": header("Location: page/page.php?p=b4"); break;
case "2-5": header("Location: page/page.php?p=b5"); break;
case "2-6": header("Location: page/page.php?p=b6"); break;
case "2-7": header("Location: page/page.php?p=b7"); break;
case "2-8": header("Location: page/page.php?p=b8"); break;
case "2-9": header("Location: page/page.php?p=b9"); break;
case "3":
case "3-1": header("Location: page/page.php?p=c1"); break;
case "3-2": header("Location: page/page.php?p=c2"); break;
case "4":
case "4-1": header("Location: board/list.php?forum=notice"); break;
case "4-2": header("Location: page/page.php?p=d2"); break;
case "4-3": header("Location: board/list.php?forum=sangdam"); break;
case "4-4": header("Location: board/list.php?forum=event"); break;
case "4-5": header("Location: board/list.php?forum=broad"); break;
case "5":
case "5-1": header("Location: page/page.php?p=e1"); break;
case "5-2": header("Location: page/page.php?p=e2"); break;
case "5-3": header("Location: page/page.php?p=e3"); break;
case "5-4": header("Location: page/page.php?p=e4"); break;
case "5-5": header("Location: page/page.php?p=e5"); break;
case "5-6": header("Location: page/page.php?p=e6"); break;
case "5-7": header("Location: page/page.php?p=e7"); break;
case "6":
case "6-1": header("Location: board/list.php?forum=story"); break;
}
?>
서버이전했다면 확장자에 대한 웹서버 설정이 달라서 그런 것 같군요.
go.html 확장자를 go.php로 변경해서
도메인/go.php?id=5-4 식으로 접속해보세요.