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

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

· 13년 전 · 878 · 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/파일명";
이런 식으로 하시면 돼요.

게시글 목록

번호 제목
284438
284437
284435
284430
284420
284417
284409
284401
284399
284397
284380
284378
284371
284370
284366
284364
284360
284357
284355
284354