Hi, I have the following script in a file at eg. http://www.mysite.com/test.php3
<body>
<?php
header("Location: http://www.cdnow.com");
exit();
?>
</body>
However, it displays the following information.
Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in /home/test/test.php3 on line 4
Can anyone tell me what's wrong and how to fix it?
thanx