본문으로 이동

검색어를 입력하고 Enter를 누르세요.

php include

김 태영
$wwwDir = explode('www', dirname(__FILE__))[0].'www/';
include($wwwDir.'file.php');
소스 설명
include html 을 포함한 파일을 불러오기 위한 include
include_once 함수파일을 한번만 가져오기 위한 include
Include, PHP, 워드프레스