剛剛試了一下不管是 require 或 include 錯誤訊息都一樣
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\test\index.php:102) in C:\xampp\htdocs\test\web\session_php.inc on line 53
session_php.inc 第53行是session_start();
Warning: require(style.inc): failed to open stream: No such file or directory in C:\xampp\htdocs\test\web\Themes\default\header.inc on line 120
Fatal error: require(): Failed opening required 'style.inc' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\test\web\Themes\default\header.inc on line 120
header.inc第120行是 <?php require_once "style.inc";?>