<?php
include_once "test_lib.php";
header("HTTP/1.0 200 OK");
echo "Hello World!";
?>
test.php
<?php
?>
[EOF]
test_lib.php
Warning: Cannot modify header information - headers already sent by
になっちゃう><
これは どうやら test_lib.php の line3 の空行が原因。
正しくは、
<?php
?>[EOF]
test_lib.php
となるべきとのこと。