묻고답하기

php는 세션아이디가 자동생성인가요?

그렇다면 하이퍼링크 클릭시 이 아이디 값이 안넘어가게 하는 방법인 몬지 갈쳐 주세요

--;  세션아이디 땜에 터지기 일보직전입니다

제발 갈쳐 주세요..

소스에서 잘못된건가요? 제로보드 링크할때 세션아이디 까지 그냥 넘어가서 게시판을 못찾네요...

========================소스===============================
<html>
   <head>
      <title></title>
      <META content="text/html; charset=euc-kr" http-equiv="Content-Type">
        <?
        $_zb_url = "http://www.shinebell.net/bbs/";
    $_zb_path = "/home/user1/shinebell/html/bbs/";
        include $_zb_path."outlogin.php";
        ?>
        <? session_destroy(); ?>

</HEAD>

<BODY leftmargin=0 topmargin=0 marginwidth="0" marginheight="0" background="" scroll="auto" >

<SCRIPT language=javascript>
if (document.all)    {n=0;ie=1;fShow="visible";fHide="hidden";}
if (document.layers) {n=1;ie=0;fShow="show";fHide="hide";}

window.onerror=new Function("hideAll(); return true")
////////////////////////////////////////////////////////////////////////////
// Function Menu()                                                        //
////////////////////////////////////////////////////////////////////////////
rightX = 0;
var lastMenu=null;
function Menu()
{
        this.bgColor     = "#CCCCCC";
        this.subbgColor     = "#e8e8e8";
        
        this.addItem    = addItem;
        this.showMenu   = showMenu;
        this.mainPaneBorder = 0;  //*** 메인메뉴의 경계선을 지정(1)/미지정(현재값:0)합니다. 경계선의 값을 많이 주면 두꺼운 선이 됩니다.

        this.addSubItem = addSubItem;
        this.subMenuPaneBorder = 1;
        this.subMenuPaneWidth = 130;  //***부메뉴의 폭을 조정합니다.
        
   var lastMenu=null;
        rightY = 0;
        leftY = 0;
        leftX = 0;
// menubar TABLE
        HTMLstr = "<table width='300' cellspacing='0' cellpadding='0' border='"+this.mainPaneBorder+"'>n";
        HTMLstr += "<tr>";
        HTMLstr += "<!-- MAIN MENU STARTS -->n";
        HTMLstr += "<!-- MAIN_MENU -->n";
        HTMLstr += "<!-- MAIN MENU ENDS -->n";
        HTMLstr += "</tr>n";
        HTMLstr += "</table>n";
        
        HTMLstr += "n";
        HTMLstr += "<!-- SUB MENU STARTS -->n";
        HTMLstr += "<!-- SUB_MENU -->n";
        HTMLstr += "<!-- SUB MENU ENDS -->n";
        HTMLstr += "n";        

}

//function addItem(idItem, text, hint, location, altLocation)
function addItem(idItem, text, hint)
{
        var Lookup = "<!-- ITEM "+idItem+" -->";
        if (HTMLstr.indexOf(Lookup) != -1)
        {
                alert(idParent + " already exist");
                return;
        }
        var MENUitem = "";
        MENUitem += "n<!-- ITEM "+idItem+" -->n";



                //** 여기서 주 메뉴의 폭과 높이 배경 이미지를 바꾸어 줍니다.
        MENUitem += "<td align='center' height='22' width='100' background='' >";
        
        if (ie)        MENUitem += "<div id='"+idItem+"' style='position:relative;'>";
                
        MENUitem += "<a ";
        if (hint != null) MENUitem += "title='"+hint+"' ";
        //if (altLocation != null)
        //        MENUitem += "href='"+altLocation+"' ";
        //else
        //        MENUitem += "href='.' ";
        MENUitem += "onmouseover="displaySubMenu('"+idItem+"')" ";
        MENUitem += ">";
        MENUitem += text;
        MENUitem += "</a>";
        if(ie)        MENUitem += "</div>";
        MENUitem += "</td>n";

        MENUitem += "<!-- END OF ITEM "+idItem+" -->nn";
        MENUitem += "<!-- MAIN_MENU -->n";
        
        HTMLstr = HTMLstr.replace("<!-- MAIN_MENU -->n", MENUitem);
}

function addSubItem(idParent, text, hint, loc)
{
        var MENUitem = "";

        Lookup = "<!-- ITEM "+idParent+" -->";
        if (HTMLstr.indexOf(Lookup) == -1)
        {
                alert(idParent + " not found");
                return;
        }

        Lookup = "<!-- NEXT ITEM OF SUB MENU "+ idParent +" -->";
        if (HTMLstr.indexOf(Lookup) == -1) {
                if (n){}
                if (ie) {
                        MENUitem += "n";
                        MENUitem += "<div id='"+idParent+"submenu' style='position:absolute; visibility: hidden; width:130;'>n";
// submenu border color
                        MENUitem += "<table border='0'  bgcolor='#e8e8e8' cellpadding=3 cellspacing=0>n";
                        MENUitem += "<tr>n" ;
                        MENUitem += "<!-- NEXT ITEM OF SUB MENU "+ idParent +" -->n";
                        MENUitem += "</td>n</tr>n" ;
                        MENUitem += "</table>n";
                        MENUitem += "</div>n";
                        MENUitem += "n";
                }
                MENUitem += "<!-- SUB_MENU -->n";
                HTMLstr = HTMLstr.replace("<!-- SUB_MENU -->n", MENUitem);
        }
        
        Lookup = "<!-- NEXT ITEM OF SUB MENU "+ idParent +" -->n";
        MENUitem+="<tr>";
        
        MENUitem = "<td><a href='"+loc+"'>"+text+"</a>   <br>n";
        MENUitem += Lookup;
        HTMLstr = HTMLstr.replace(Lookup, MENUitem);
}

function showMenu()
{        
        document.writeln(HTMLstr);
}

////////////////////////////////////////////////////////////////////////////
// Private declaration
function displaySubMenu(idMainMenu)
{
        
        var menu;
        var submenu;

        if (n){}
        else if (ie) {
                menu = eval(idMainMenu);
                submenu = eval(idMainMenu+"submenu.style");
                submenu.left = calculateSumOffset(menu, 'offsetLeft');
                submenu.top  = calculateSumOffset(menu, 'offsetTop') + 15;

          //***아래의 50(단위 픽셀)를 조정해 주면 부메뉴의 높이를 조정할 수 있습니다.
                submenu.visibility = fShow;

                if (lastMenu != null && lastMenu != submenu) hideAll();

                leftX  = document.all[idMainMenu+"submenu"].style.posLeft;
                rightX = leftX + document.all[idMainMenu+"submenu"].offsetWidth;
                leftY  = document.all[idMainMenu+"submenu"].style.posTop+
                        document.all[idMainMenu+"submenu"].offsetHeight;
                rightY = leftY;
                
        }
        lastMenu = submenu;
}

function hideAll()
{
        
        if (lastMenu != null) {
                lastMenu.visibility = fHide;
                lastMenu.left = 0;
        }
}

function calculateSumOffset(idItem, offsetName)
{
        var totalOffset = 0;
        var item = eval('idItem');
        do
        {
                totalOffset += eval('item.'+offsetName);
                item = eval('item.offsetParent');
        } while (item != null);
        return totalOffset;
}

function updateIt(e)
{
        if (ie)
        {
                var x = window.event.clientX;
                var y = window.event.clientY;
                if (x > rightX || x < leftX) hideAll();
                else if (y > rightY) hideAll();
        }
}
if (document.all)
{
        document.body.onclick=hideAll;
        document.body.onscroll=hideAll;
        document.body.onmousemove=updateIt;
}

</SCRIPT>

<SCRIPT language=javascript>
        
function makeTopmenu() {
// AddItem(id, text, hint, location, alternativeLocation);
// AddSubItem(idParent, text, hint, location);
// 주메뉴를 클릭하면 이동되는 페이지의 주소도 여기서 수정해 주어야 합니다.

        menu = new Menu();
   //주메뉴 시작
                
        addItem("study","STUDY","프로그래밍 언어.",null,null);
        addItem("board","BOARD","사진과 글..",null,null);
        addItem("familly","FAMILY","우리 가족",null,null);

        if (ie) {
        //부메뉴 시작
                        
        addSubItem("study","JAVA","사이트 새소식/공지 게시판","http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("study","CSS","CD 제작에 대한 의견게시판","http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("board","PICTURE",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("board","BULLET",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("familly","SCHEDULE",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("familly","MEMORY",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("familly","BULLET",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
        addSubItem("familly","DOWNLOADS&REQUEST",null,"http://shinebell.net/bbs/zboard.php?id=family_bullet");
}
        menu.showMenu();
}
</SCRIPT>
<A name=top></A>

<TABLE align="center" valign="top" border=0>

  <TABLE align="center" width=1000 cellSpacing=0 cellPadding=0 border=0>
  <TR align="left" height=45 width=1000>
    <TD style="vertical-align:TOP;" align="left" width=1000 bgcolor="red">
    <SCRIPT language=JavaScript>makeTopmenu();</SCRIPT>
        </TD>
  </TR>
  </TABLE>
  
  <TABLE align="center" width=1000 cellSpacing=0 cellPadding=0 border=0 height=500 >
  <TR align="center">
        <TD width="100" bgcolor="yellow">
        <? print_outlogin("default", 1, 10) ?>
        <br>
        좌측메뉴
        </TD>
        <TD style="vertical-align:TOP;" width="900" bgcolor="blue">
        

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
깨어있기 이메일 로그인을 아이디 로그인으로 바꾸려면? [2] 2015.05.11 by 깨어있기
깨어있기 alertMsg를 대체하는 것은? [2] 2015.05.11 by 깨어있기
h1one [XE 1.8.1] 로그인 및 첨부파일 업로드 문제 [4] 2015.05.11 by h1one
므231 글마다 인증번호를 부여하고싶습니다. [1] 2015.05.11 by 한꼬마
불패의초인 스케치북5 스킨요~ [5] 2015.05.11 by 몽실아빠
kdp 이건 또 무슨증상인가요? [3] file 2015.05.11 by kdp
클릭해 팝업을 띄울려는데요.. [2] 2015.05.11 by 클릭해
줄앤짐 메인에 공지사항을 상단 탭스타일로 만들었는데 링크가 안되네요.  
고마쎄리 위젯 다국어 설정 문제 file  
WCGM 메뉴 추가시 이상한 에러 메시지 출력 file  
cdtank 글 수정 권한부여 관련 [3] 2015.05.11 by cdtank
Iduna 업데이트가 안 되는 이유 file  
팝스애플 "홈 페이지로 사용"으로 체크한 페이지의 경우 레이아웃을 다르게 하고 싶습니다.  
착한동구 스케치북 게시판 사용중인데요 조회수가 표시가 안사라져요 [2] 2015.05.11 by 착한동구
히피♬ XE 1.8.1 에서는 프로필사진과 이미지닉네임 제공이 안되나요? ㅠ [1] 2015.05.11 by BJ람보
jblref XEDITION 게시판 본문 폰트 크기 수정이 어렵네요. [5] 2015.05.11 by jblref
피씨토머 HTTP500 내부서버 오류 [1] 2015.05.10 by ehii
chorok9 문서 게시판의 이미지를 클릭하면 다른 홈페이지로 넘어갑니다. [3] 2015.05.10 by chorok9
자동차 사이트 메뉴 연결이 안되서 미치겠습니다. [2] file 2015.05.10 by 자동차
해운대살고싶다 이거 제로보드게시판인가요?? [1] 2015.05.10 by GG
착한동구 레이아웃 배너 달기 다른 방법도 있나요? [4] file 2015.05.10 by 닉이
착한동구 트래픽위젯 설치좀 도와주세요  
ㅊㄷㄱ db만 백업해서 데이터를 옮길 수 있나요? [6] 2015.05.10 by AJKJ
newi 지정그룹 제목 색상 변경 가능하도록 하려면 어떻게 하나요??  
피씨토머 DB / DATA 타 서버로의 통합이전 문의드립니다. [3] file 2015.05.10 by kdp
thdwjdtjr 혹시 이 글자체가 무슨 폰트체인지요..(죄송합니다) [2] file 2015.05.10 by thdwjdtjr
궁e MessageXE이거요 위젯으로 상담신청하는 페이지에서 문자발송되도록 하고 싶어요 [4] 2015.05.10 by 궁e
kdp VPS로 계속가도 문제없을지... [3] file 2015.05.10 by kdp
본히 게시판 마다 최소 댓글수를 다르게 하고 싶습니다. [2] 2015.05.10 by 본히
한꼬마 xe 어플 운영하시는꼐 썸네일 관계로 문의합니다.