테스트 사이트 - 개발 중인 베타 버전입니다

경로에 대해서 질문좀 드릴게요

· 13년 전 · 877 · 1
초보입니다...

C:\APM_Setup\htdocs\webhard\lib 에 있는 파일들을 include 할려고 하는데요

../ 이런거 어떻게 해야하나요?

<?
include "../webhard/lib/dbconfig.php";
include "../webhard/lib/function_db.php";
include "../webhard/lib/function_set.php";
include "../webhard/lib/function_js.php";
include "../webhard/lib/function_page.php";
include "../webhard/lib/function_text.php";
?>

계속 경로를 못찾아서 에러뜨네요 끙.. ㅠㅠ

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 1개

파일이 htdocs에 있다면 현재를 기준으로
include "./webhard/lib/파일명";
이런 식으로 하시면 돼요.

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440