>> Edit article
이름
제목
패스워드
(--)(__)(--) Linux=wowlinux7.0kkachi(커널 업글x) Linux설치?=전체설치 ======================================================================= 어제 첨으로 php를 시작했씀다. 근데 말이져..책보고 따라하고 있는데여..include()함수를 이용하는 부분이 나오더군여..예제는 다음과 같습니다. ======================================================================= <? inclulde("header.inc"); // header.inc 파일을 불러와 현재위치에로드. ?> <body><center><h3>EasyPHP study에 오신걸.....</h3></center> <? include("footer.inc"); // footer.inc 파일을 불러와 현재 위치에로드. ?> ======================================================================= 이렇게 되어있거든여.. 근데 이걸 불러오면 다음과 같은 메시지가 나와여. ======================================================================= Warning: Failed opening 'header.inc' for inclusion (include_path='.:/usr/share/php') in /var/www/html/php/72-1.php on line 4 EasyPHP study에 오신걸 환영합니다. Warning: Failed opening 'footer.inc' for inclusion (include_path='.:/usr/share/php') in /var/www/html/php/72-1.php on line 14 ======================================================================= 이렇게 나옴다.ㅜ.ㅜ 그래서 /etc/php.ini에서 include_path='.:/usr/share/php:/var/www/html/php' 라고 해놨는데도 위와 비스므로 --;; 한 것이 나오더군여.. 그래서 아예 예제php파일을 /usr/share/php에서 했더니 제대로 나오더라구염. 참고로 제가 멋대로 php폴더를 한개 맹글었는데여.. /var/www/html/php라고 맹글었씀다. /var/www/html/php에서 에러 없이 하는 방법이 있으면 좀 갈켜 주셨으면합니다. 부탁드립니다.('')(..)('')
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved