This is my webpage headers :
<?php
header("Location: http://sreyas.org.in/main/index.php?user=<?php echo
$_SESSION['username']; ?>"); exit;
header('Content-Type: text/html; charset=UTF-8');
header('Expires: Thu, 19 Nov 1981 08:52:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate,
post-check=0, pre-check=0'); // HTTP 1.1.
header('Pragma: no-cache'); // HTTP 1.0.
header('Expires: 0');
?>
But all I can see in my webpage is the following error :
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\wamp\www\sreyas\main\index.php on line 5
What can i do?