xxxxxxxxxx
<?php
//No spaces can be left in the header.
//Location : => Location: | this may be your fault
$url = "";
header("Location: " . $url);
?>
xxxxxxxxxx
// add this lines in .htaccess file
php_value display_errors 1
php_flag output_buffering on