list.skin에서 주소에러가 나요 정보
list.skin에서 주소에러가 나요본문
echo "<a href='{$list[$i][href]}' target='_top'>"; 을 이렇게 바꾸었더니
에러가 나네요
echo "<a href=http://c67908.cafe24.com/index.htm?num={$list[$i][href]}' target='_top'>";
을 이렇게 바꾸었더니
이렇게 나와야 하는데
http://c67908.cafe24.com/index.htm?num=http://c67908.cafe24.com/gnuboard4/bbs/board.php?bo_table=c96247
이렇게 나오네요
http://c67908.cafe24.com/index.htm?num=../bbs/board.php?bo_table=c96247&wr_id=648
에러 나지 않는 방법은 없을까요 답글 주세요
이것어떻게 해야 할지요
에러가 나네요
echo "<a href=http://c67908.cafe24.com/index.htm?num={$list[$i][href]}' target='_top'>";
을 이렇게 바꾸었더니
이렇게 나와야 하는데
http://c67908.cafe24.com/index.htm?num=http://c67908.cafe24.com/gnuboard4/bbs/board.php?bo_table=c96247
이렇게 나오네요
http://c67908.cafe24.com/index.htm?num=../bbs/board.php?bo_table=c96247&wr_id=648
에러 나지 않는 방법은 없을까요 답글 주세요
이것어떻게 해야 할지요
댓글 전체

config.php에
$g4['url']="http://c67908.cafe24.com"; 수정
list.skin.php에
$list[$i]['href']=str_replace($g4['path']."/",$g4['url']."/",$list[$i]['href']);
echo "<a href=http://c67908.cafe24.com/index.htm?num={$list[$i][href]}' target='_top'>";
수정
$g4['url']="http://c67908.cafe24.com"; 수정
list.skin.php에
$list[$i]['href']=str_replace($g4['path']."/",$g4['url']."/",$list[$i]['href']);
echo "<a href=http://c67908.cafe24.com/index.htm?num={$list[$i][href]}' target='_top'>";
수정