include 경로
gnuboard4/recent.php를 include 시키려고
<? include "gnuboard4/recent.php;" ?>
이러니깐에러가납니다.
iframe은 <iframe src="gnuboard4/recent.php?wr_id=<? echo $wr_id; ?>" name="myframe" width="990" height="250" scrolling="no" marginwidth="0" marginheight="0" frameborder="no">
해도 되거든요
include랑 iframe이랑 경로지정이다른가요??
main.php가
홈페이지/main.php
recent.php는
홈페이지/gnuboard4/recent.php
에 있어요.
<? include "gnuboard4/recent.php;" ?>
이러니깐에러가납니다.
iframe은 <iframe src="gnuboard4/recent.php?wr_id=<? echo $wr_id; ?>" name="myframe" width="990" height="250" scrolling="no" marginwidth="0" marginheight="0" frameborder="no">
해도 되거든요
include랑 iframe이랑 경로지정이다른가요??
main.php가
홈페이지/main.php
recent.php는
홈페이지/gnuboard4/recent.php
에 있어요.
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 3개
<? include "$g4[path]/recent.php" ?>
같은폴더내에 파일이 있다면
<? include "./recent.php" ?>
첨부 이미지에 경로를 안보이게 해놓으니 어떻게 돌아가는 상황인지 알 수가 없잖아요