Hi. Change the following:
PHP Code:
ob_start();
require("/path/to/header.php");
$my_header_file = ob_get_contents();
ob_end_clean();
to the following:
PHP Code:
ob_start();
require("/path/to/header.php");
$my_header_file = ob_get_contents();
ob_end_clean();
echo $my_header_file;
exit();
and then call search.php to see if $my_header_file actually contains the header information.